aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/graphics/je_lua_shader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/modules/graphics/je_lua_shader.cpp')
-rw-r--r--src/lua/modules/graphics/je_lua_shader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lua/modules/graphics/je_lua_shader.cpp b/src/lua/modules/graphics/je_lua_shader.cpp
index 61c8eef..1612a69 100644
--- a/src/lua/modules/graphics/je_lua_shader.cpp
+++ b/src/lua/modules/graphics/je_lua_shader.cpp
@@ -117,7 +117,7 @@ namespace JinEngine
return 0;
}
- LUA_EXPORT int luaopen_JSL(lua_State* L)
+ LUA_EXPORT void luaopen_Shader(lua_State* L)
{
luaL_Reg f[] = {
{ "__gc", l_gc },
@@ -131,7 +131,6 @@ namespace JinEngine
{ 0, 0 }
};
luax_newtype(L, Jin_Lua_Shader, f);
- return 0;
}
} // namespace Lua