1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00

Small fix in texture lib, Added a texture in "example.lua"

This commit is contained in:
Firew0lf 2015-08-21 12:48:20 +02:00
parent 7896c89e5f
commit fd885de68a
2 changed files with 7 additions and 1 deletions

View file

@ -64,7 +64,7 @@ static int texture_unload(lua_State *L) {
// object
static const struct luaL_Reg texture_methods[] = {
{"draw", texture_draw },
{"destroy", texture_unload},
{"unload", texture_unload},
{"__gc", texture_unload},
{NULL, NULL}
};