diff options
Diffstat (limited to 'src/lua/modules/graphics/je_lua_shader.cpp')
-rw-r--r-- | src/lua/modules/graphics/je_lua_shader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/modules/graphics/je_lua_shader.cpp b/src/lua/modules/graphics/je_lua_shader.cpp index c04b360..cfe2260 100644 --- a/src/lua/modules/graphics/je_lua_shader.cpp +++ b/src/lua/modules/graphics/je_lua_shader.cpp @@ -119,7 +119,7 @@ namespace JinEngine LUA_EXPORT void luaopen_Shader(lua_State* L) { - luaL_Reg f[] = { + luaL_Reg methods[] = { { "__gc", l_gc }, { "sendNumber", l_sendNumber }, { "sendTexture", l_sendTexture }, @@ -130,7 +130,7 @@ namespace JinEngine { "sendColor", l_sendColor }, { 0, 0 } }; - luax_newtype(L, Jin_Lua_Shader, f); + luax_newtype(L, Jin_Lua_Shader, methods); } } // namespace Lua |