diff options
author | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-09-20 11:45:24 +0000 |
---|---|---|
committer | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-09-20 11:45:24 +0000 |
commit | 707441e6eac0f628f9c61f0130df07c6768ba291 (patch) | |
tree | 46face105bdde202f0ca051903f710bc76d5fe97 /Game/Code/Classes/TextGL.pas | |
parent | 333ec29a5275fb851f38f7be695930ea1dfe8340 (diff) | |
download | usdx-707441e6eac0f628f9c61f0130df07c6768ba291.tar.gz usdx-707441e6eac0f628f9c61f0130df07c6768ba291.tar.xz usdx-707441e6eac0f628f9c61f0130df07c6768ba291.zip |
tidy texture loading.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@421 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/TextGL.pas | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Game/Code/Classes/TextGL.pas b/Game/Code/Classes/TextGL.pas index 1e4a9f6a..c228b40a 100644 --- a/Game/Code/Classes/TextGL.pas +++ b/Game/Code/Classes/TextGL.pas @@ -79,8 +79,7 @@ procedure BuildFont; // Build Our Bitmap Font Rejestr: TResourceStream; begin {$IFNDEF FPC} - Log.LogStatus( 'TextGL - BUILDFONT - load Font Resource - ' + inttostr( integer( aID ) ) , aType +' '+ aResourceName ); - + Rejestr := TResourceStream.Create(HInstance, aResourceName , pchar( aType ) ); try Rejestr.Read(Fonts[ aID ].Width, 256); |