From 7d59796907b4582eb8a64e7e52a3a428f0d7434d Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 14 Mar 2025 22:06:34 +0200 Subject: SDL3 Events. --- src/lua_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lua_core.c') 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; -- cgit v1.2.3