Build option for Lua events that is off by default.
This commit is contained in:
@@ -1129,7 +1129,7 @@ bool luaCallMain() {
|
||||
|
||||
void luaCallProcess() {
|
||||
|
||||
#ifdef PLATFORM_DESKTOP_SDL
|
||||
#if defined PLATFORM_DESKTOP_SDL && defined LUA_EVENTS
|
||||
platformSendEvents();
|
||||
#endif
|
||||
lua_State *L = state->luaState;
|
||||
|
||||
@@ -649,5 +649,7 @@ void luaPlatformRegister() {
|
||||
|
||||
lua_pop( L, -1 );
|
||||
|
||||
#ifdef LUA_EVENTS
|
||||
platformRegisterEvents();
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -555,5 +555,7 @@ void luaPlatformRegister() {
|
||||
|
||||
lua_pop( L, -1 );
|
||||
|
||||
platformRegisterEvents()
|
||||
#ifdef LUA_EVENTS
|
||||
platformRegisterEvents();
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user