summaryrefslogtreecommitdiff
path: root/src/textures.c
diff options
context:
space:
mode:
authorjussi2022-11-27 14:08:58 +0200
committerjussi2022-11-27 14:08:58 +0200
commitdeda5fb9170295133444809618835e8b9aa61512 (patch)
treeb00b07e245e2b9899f2c0059706b1f112e6b8c3a /src/textures.c
parentc327a1ed55fafc212bf0e3bd5067ab246f1f041c (diff)
downloadreilua-enhanced-deda5fb9170295133444809618835e8b9aa61512.tar.gz
reilua-enhanced-deda5fb9170295133444809618835e8b9aa61512.tar.bz2
reilua-enhanced-deda5fb9170295133444809618835e8b9aa61512.zip
Exit function and N-Patch fix.
Diffstat (limited to 'src/textures.c')
-rw-r--r--src/textures.c1
1 files changed, 1 insertions, 0 deletions
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 );