aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UGraphic.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-04-06 18:55:31 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-04-06 18:55:31 +0000
commitc5721f524c7a3a322b13458598ef4eeacab71406 (patch)
tree7897bc5abae0605a999b031f07648361d8b40c48 /Game/Code/Classes/UGraphic.pas
parent4282e544fb31c3dcc25baae7b5e21062aff6edb1 (diff)
downloadusdx-c5721f524c7a3a322b13458598ef4eeacab71406.tar.gz
usdx-c5721f524c7a3a322b13458598ef4eeacab71406.tar.xz
usdx-c5721f524c7a3a322b13458598ef4eeacab71406.zip
New Covers.Cache Texture loading finished
There is some bug rescaling the textures, but i'm not sure where. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1010 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UGraphic.pas4
1 files changed, 3 insertions, 1 deletions
diff --git a/Game/Code/Classes/UGraphic.pas b/Game/Code/Classes/UGraphic.pas
index afb986e1..90772ca8 100644
--- a/Game/Code/Classes/UGraphic.pas
+++ b/Game/Code/Classes/UGraphic.pas
@@ -253,6 +253,7 @@ uses UMain,
UIni,
UDisplay,
UCommandLine,
+ UCovers,
{$IFNDEF FPC}
Graphics,
{$ENDIF}
@@ -538,7 +539,8 @@ begin
// the mainthread have to know somehow what opengl function have to be called with which parameters like
// texturetype, textureobjekt, textur-buffer-adress, ...
-
+ //Load Covers from Cache and new added/ Updated Covers
+ Covers.LoadTextures;
// wait for loading thread to finish
// funktioniert so auch noch nicht - currently dos not work this way