From 7665cf4bc16a423d4cd98174853dcc36de08787e Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 1 Apr 2022 20:35:43 +0300 Subject: GuiIconText. --- src/textures.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/textures.c') diff --git a/src/textures.c b/src/textures.c index 8357f68..119c8e4 100644 --- a/src/textures.c +++ b/src/textures.c @@ -1353,7 +1353,7 @@ Get Color structure from hexadecimal value - Success return Color */ int ltexturesGetColor( lua_State *L ) { - if ( !lua_istable( L, -1 ) ) { + if ( !lua_isnumber( L, -1 ) ) { TraceLog( LOG_WARNING, "%s", "Bad call of function. RL_GetColor( unsigned int hexValue )" ); lua_pushboolean( L, false ); return 1; @@ -1394,10 +1394,6 @@ int ltexturesGetPixelColor( lua_State *L ) { return 1; } - - -Color GetPixelColor(void *srcPtr, int format); - /* > size = RL_GetPixelDataSize( int width, int height, int format ) -- cgit v1.2.3