mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Make love compile against lua5.2
This commit is contained in:
@@ -52,7 +52,7 @@ LuaThread::~LuaThread()
|
||||
void LuaThread::threadFunction()
|
||||
{
|
||||
this->retain();
|
||||
lua_State * L = lua_open();
|
||||
lua_State *L = luaL_newstate();
|
||||
luaL_openlibs(L);
|
||||
#ifdef LOVE_BUILD_STANDALONE
|
||||
love::luax_preload(L, luaopen_love, "love");
|
||||
|
||||
Reference in New Issue
Block a user