mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Properly export all lua-facing functions and use those for initialization (love.cpp no longer explicitly mentions implementations)
This commit is contained in:
@@ -161,7 +161,7 @@ namespace opengl
|
||||
{ 0, 0 }
|
||||
};
|
||||
|
||||
int luaopen_spritebatch(lua_State * L)
|
||||
extern "C" int luaopen_spritebatch(lua_State * L)
|
||||
{
|
||||
return luax_register_type(L, "SpriteBatch", functions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user