summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
authorjussi2024-11-20 18:23:42 +0200
committerjussi2024-11-20 18:23:42 +0200
commit479726a5e468a2f4d0f9337f082889082e535bfb (patch)
treed342d5ddd7ea69b1be343ae62dfd0ef1ddcef8a7 /src/text.c
parentcf2c2eb05bd5d30169771b0087df84a53124f766 (diff)
downloadreilua-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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/text.c b/src/text.c
index 309f6da..9b6fe95 100644
--- a/src/text.c
+++ b/src/text.c
@@ -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;
}