From deda5fb9170295133444809618835e8b9aa61512 Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 27 Nov 2022 14:08:58 +0200 Subject: Exit function and N-Patch fix. --- src/textures.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/textures.c') diff --git a/src/textures.c b/src/textures.c index 7cc423a..0b1a198 100644 --- a/src/textures.c +++ b/src/textures.c @@ -2099,6 +2099,7 @@ int ltexturesDrawTextureNPatch( lua_State *L ) { Rectangle dest = uluaGetRectangle( L ); lua_pop( L, 1 ); NPatchInfo nPatchInfo = uluaGetNPatchInfo( L ); + lua_pop( L, 1 ); size_t texId = lua_tointeger( L, -1 ); -- cgit v1.2.3