mirror of
https://github.com/love2d/love.git
synced 2026-08-20 12:40:20 +02:00
Android: Remove calls to luaJIT_setmode.
Turning off JIT is now done in jitsetup.lua.
This commit is contained in:
@@ -43,10 +43,6 @@
|
|||||||
|
|
||||||
#ifdef LOVE_ANDROID
|
#ifdef LOVE_ANDROID
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
extern "C"
|
|
||||||
{
|
|
||||||
#include "luajit.h"
|
|
||||||
}
|
|
||||||
#endif // LOVE_ANDROID
|
#endif // LOVE_ANDROID
|
||||||
|
|
||||||
#ifdef LOVE_LEGENDARY_CONSOLE_IO_HACK
|
#ifdef LOVE_LEGENDARY_CONSOLE_IO_HACK
|
||||||
@@ -438,7 +434,6 @@ int luaopen_love(lua_State *L)
|
|||||||
lua_setfield(L, -2, "_version_codename");
|
lua_setfield(L, -2, "_version_codename");
|
||||||
|
|
||||||
#ifdef LOVE_ANDROID
|
#ifdef LOVE_ANDROID
|
||||||
luaJIT_setmode(L, 0, LUAJIT_MODE_ENGINE | LUAJIT_MODE_OFF);
|
|
||||||
lua_register(L, "print", w_print_sdl_log);
|
lua_register(L, "print", w_print_sdl_log);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user