New object type Font.

This commit is contained in:
jussi
2023-10-28 14:15:20 +03:00
parent 23935aefca
commit af03c7364e
12 changed files with 179 additions and 362 deletions

View File

@@ -924,7 +924,7 @@ Load texture from file into GPU memory ( VRAM )
- Success return Texture
*/
int ltexturesLoadTexture( lua_State *L ) {
if ( FileExists( lua_tostring( L, 1 ) ) ) {
if ( FileExists( luaL_checkstring( L, 1 ) ) ) {
uluaPushTexture( L, LoadTexture( lua_tostring( L, 1 ) ) );
return 1;