From cf7c480aca8e24c62e6563e96a1bb4636a1ac81f Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 8 Feb 2023 01:21:03 +0200 Subject: BLEND_ALPHA_PREMULTIPLY. --- src/textures.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/textures.c') diff --git a/src/textures.c b/src/textures.c index 0b1a198..5121718 100644 --- a/src/textures.c +++ b/src/textures.c @@ -695,10 +695,10 @@ int ltexturesImageAlphaClear( lua_State *L ) { lua_pushboolean( L, false ); return 1; } - Color color = uluaGetColor( L ); - lua_pop( L, 1 ); float threshold = lua_tonumber( L, -1 ); lua_pop( L, 1 ); + Color color = uluaGetColor( L ); + lua_pop( L, 1 ); size_t imageId = lua_tointeger( L, -1 ); if ( !validImage( imageId ) ) { @@ -1766,7 +1766,6 @@ int ltexturesLoadRenderTexture( lua_State *L ) { return 1; } - /* > success = RL_UnloadTexture( Texture2D texture ) -- cgit v1.2.3