summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
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;
}