summaryrefslogtreecommitdiff
path: root/src/lua_core.c
diff options
context:
space:
mode:
authorjussi2024-02-10 21:06:09 +0200
committerjussi2024-02-10 21:06:09 +0200
commit6557a2ebca62c6670736b4ec2914a2aca60dbdba (patch)
tree03a839d7eb4b9bddf3a694a163724ca8d59c819e /src/lua_core.c
parenteda4eacfce4f62ca09fb4f6559f9b7aeabe3cc31 (diff)
downloadreilua-enhanced-6557a2ebca62c6670736b4ec2914a2aca60dbdba.tar.gz
reilua-enhanced-6557a2ebca62c6670736b4ec2914a2aca60dbdba.tar.bz2
reilua-enhanced-6557a2ebca62c6670736b4ec2914a2aca60dbdba.zip
Build option for Lua events that is off by default.
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;