From d7f333d3b729b61eeeb70c2480afa516a1d459ff Mon Sep 17 00:00:00 2001
From: tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>
Date: Thu, 22 Apr 2010 01:16:33 +0000
Subject: TextureSize (=CachedCoverSize) default set back to 128. - a default
 cached cover size of 128 pixels is big enough - 256 pixels are already
 noticeably slow with 180 covers in the song-screen displayed at once. In
 additon the covers.db will be too big.

git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2274 b956fd51-792f-4845-bead-9b4dfca2ff2c
---
 src/base/UIni.pas | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'src')

diff --git a/src/base/UIni.pas b/src/base/UIni.pas
index d809c790..3ed3f3d5 100644
--- a/src/base/UIni.pas
+++ b/src/base/UIni.pas
@@ -902,8 +902,11 @@ begin
 
   LoadScreenModes(IniFile);
 
-  // TextureSize
-  TextureSize := GetArrayIndex(ITextureSize, IniFile.ReadString('Graphics', 'TextureSize', ITextureSize[2]));
+  // TextureSize (aka CachedCoverSize)
+  // Note: a default cached cover size of 128 pixels is big enough,
+  // 256 pixels are already noticeably slow with 180 covers in the song-screen
+  // displayed at once. In additon the covers.db will be too big.
+  TextureSize := GetArrayIndex(ITextureSize, IniFile.ReadString('Graphics', 'TextureSize', '128'));
 
   // SingWindow
   SingWindow := GetArrayIndex(ISingWindow, IniFile.ReadString('Graphics', 'SingWindow', 'Big'));
-- 
cgit v1.2.3