diff options
| author | jussi | 2024-11-20 18:23:42 +0200 |
|---|---|---|
| committer | jussi | 2024-11-20 18:23:42 +0200 |
| commit | 479726a5e468a2f4d0f9337f082889082e535bfb (patch) | |
| tree | d342d5ddd7ea69b1be343ae62dfd0ef1ddcef8a7 /src/text.c | |
| parent | cf2c2eb05bd5d30169771b0087df84a53124f766 (diff) | |
| download | reilua-enhanced-479726a5e468a2f4d0f9337f082889082e535bfb.tar.gz reilua-enhanced-479726a5e468a2f4d0f9337f082889082e535bfb.tar.bz2 reilua-enhanced-479726a5e468a2f4d0f9337f082889082e535bfb.zip | |
Initial switch to raylib 5.5.
Diffstat (limited to 'src/text.c')
| -rw-r--r-- | src/text.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -295,16 +295,16 @@ int ltextFontCopy( lua_State* L ) { } /* -> isReady = RL.IsFontReady( Font font ) +> isReady = RL.IsFontValid( Font font ) -Check if a font is ready +Check if a font is valid (font data loaded, WARNING: GPU texture not checked) - Success return bool */ -int ltextIsFontReady( lua_State* L ) { +int ltextIsFontValid( lua_State* L ) { Font* font = uluaGetFont( L, 1 ); - lua_pushboolean( L, IsFontReady( *font ) ); + lua_pushboolean( L, IsFontValid( *font ) ); return 1; } |
