Make love compile against lua5.2

This commit is contained in:
Bart van Strien
2013-07-10 16:02:52 +02:00
parent 14ca401158
commit f5603b0291
6 changed files with 25 additions and 10 deletions
+1 -1
View File
@@ -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");