aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-13 11:39:36 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-13 11:39:36 +0000
commitbc7268806e0cb477725cad39df2412bc1a2837f1 (patch)
treed20914eeffe4ae25bf3fd33308e767dcbb5939d3 /Game/Code/Screens
parentb3479c3144734aab45db7fcb0ae84f5cb6dbb1c6 (diff)
downloadusdx-bc7268806e0cb477725cad39df2412bc1a2837f1.tar.gz
usdx-bc7268806e0cb477725cad39df2412bc1a2837f1.tar.xz
usdx-bc7268806e0cb477725cad39df2412bc1a2837f1.zip
moved image (SDL-surface) manipulation functions from UTexture.pas to UImage.pas
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1254 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Screens')
-rw-r--r--Game/Code/Screens/UScreenSong.pas2
1 files changed, 0 insertions, 2 deletions
diff --git a/Game/Code/Screens/UScreenSong.pas b/Game/Code/Screens/UScreenSong.pas
index 3ed5e745..53271778 100644
--- a/Game/Code/Screens/UScreenSong.pas
+++ b/Game/Code/Screens/UScreenSong.pas
@@ -824,9 +824,7 @@ begin
// cache texture if there is a need to this
if (not Covers.CoverExists(CatSongs.Song[I].Path + CatSongs.Song[I].Cover)) then
begin
- Texture.CreateCacheMipmap := true;
Texture.GetTexture(CatSongs.Song[I].Path + CatSongs.Song[I].Cover, TEXTURE_TYPE_PLAIN, true); // preloads textures and creates cache mipmap
- Texture.CreateCacheMipmap := false;
// puts this texture to the cache file
Covers.AddCover(CatSongs.Song[I].Path + CatSongs.Song[I].Cover);