Browse Source

Update demo10.lpr

Seenkao 3 years ago
parent
commit
1067098818
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Zengl_SRC/demos/Android/10 - Tiles/jni/demo10.lpr

+ 2 - 2
Zengl_SRC/demos/Android/10 - Tiles/jni/demo10.lpr

@@ -22,7 +22,7 @@ uses
 
 var
   dirRes   : UTF8String = 'assets/';
-  fntMain  : Byte;
+  fntMain  : LongWord;
   map      : zglTTiles2D;
   texTiles : zglPTexture;
 
@@ -62,7 +62,7 @@ begin
   file_Close( f );
 
   file_CloseArchive();
-  setTextScale(15, fntMain);
+  setFontTextScale(15, fntMain);
 end;
 
 procedure Draw;