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:
parent
7896c89e5f
commit
fd885de68a
2 changed files with 7 additions and 1 deletions
|
|
@ -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}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue