summaryrefslogtreecommitdiff
path: root/src/lua_core.c
diff options
context:
space:
mode:
authorjussi2025-03-14 22:06:34 +0200
committerjussi2025-03-14 22:06:34 +0200
commit7d59796907b4582eb8a64e7e52a3a428f0d7434d (patch)
tree7c1092dbce198d9318f2d78d296b35deef6187a4 /src/lua_core.c
parent63f3c1781cec32bd4603cd92a9b788e3000a9594 (diff)
downloadreilua-enhanced-7d59796907b4582eb8a64e7e52a3a428f0d7434d.tar.gz
reilua-enhanced-7d59796907b4582eb8a64e7e52a3a428f0d7434d.tar.bz2
reilua-enhanced-7d59796907b4582eb8a64e7e52a3a428f0d7434d.zip
SDL3 Events.
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;