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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua_core.c b/src/lua_core.c
index 0191e98..389da1a 100644
--- a/src/lua_core.c
+++ b/src/lua_core.c
@@ -1453,7 +1453,8 @@ void luaCallInit() {
void luaCallUpdate() {
-#if defined PLATFORM_DESKTOP_SDL2 && defined LUA_EVENTS
+// #if defined PLATFORM_DESKTOP_SDL2 && defined LUA_EVENTS
+#if ( defined PLATFORM_DESKTOP_SDL2 || defined PLATFORM_DESKTOP_SDL3 ) && defined LUA_EVENTS
platformSendEvents();
#endif
lua_State* L = state->luaState;