diff options
author | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-09-20 11:20:20 +0000 |
---|---|---|
committer | jaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2007-09-20 11:20:20 +0000 |
commit | 7e01085a1981f28e538b06bff5cebf2b88c975af (patch) | |
tree | bfce55410157523e9c588ed0c45659763a34c710 /Game/Code/Classes/TextGL.pas | |
parent | efef73dfde7de1692afb9aa8a9d51dcafc59fbb2 (diff) | |
download | usdx-7e01085a1981f28e538b06bff5cebf2b88c975af.tar.gz usdx-7e01085a1981f28e538b06bff5cebf2b88c975af.tar.xz usdx-7e01085a1981f28e538b06bff5cebf2b88c975af.zip |
fixed nasty bug I introduced...
sorry..
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@419 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/TextGL.pas | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Game/Code/Classes/TextGL.pas b/Game/Code/Classes/TextGL.pas index ee1a74f3..1e4a9f6a 100644 --- a/Game/Code/Classes/TextGL.pas +++ b/Game/Code/Classes/TextGL.pas @@ -79,6 +79,8 @@ 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); |