From 479726a5e468a2f4d0f9337f082889082e535bfb Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 20 Nov 2024 18:23:42 +0200 Subject: Initial switch to raylib 5.5. --- src/text.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/text.c') 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; } -- cgit v1.2.3