summaryrefslogtreecommitdiff
path: root/src/lua_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua_core.c')
-rw-r--r--src/lua_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_core.c b/src/lua_core.c
index 970a2ba..3ce5474 100644
--- a/src/lua_core.c
+++ b/src/lua_core.c
@@ -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;