summaryrefslogtreecommitdiff
path: root/include/state.h
diff options
context:
space:
mode:
authorjussi2025-03-12 23:26:01 +0200
committerjussi2025-03-12 23:26:01 +0200
commit63f3c1781cec32bd4603cd92a9b788e3000a9594 (patch)
tree977b1847a2b7cd4c1dada94597a19a6acaa72c1b /include/state.h
parentbfa73944f7e8a3a239ed105871a0912e8b22ed15 (diff)
downloadreilua-enhanced-63f3c1781cec32bd4603cd92a9b788e3000a9594.tar.gz
reilua-enhanced-63f3c1781cec32bd4603cd92a9b788e3000a9594.tar.bz2
reilua-enhanced-63f3c1781cec32bd4603cd92a9b788e3000a9594.zip
Basic sdl3 support.
Diffstat (limited to 'include/state.h')
-rw-r--r--include/state.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/state.h b/include/state.h
index 1e84b43..a6b5118 100644
--- a/include/state.h
+++ b/include/state.h
@@ -1,6 +1,6 @@
#pragma once
-#ifdef PLATFORM_DESKTOP_SDL
+#ifdef PLATFORM_DESKTOP_SDL2
#define PLATFORM_SDL_EVENT_QUEUE_LEN 128
#endif
@@ -39,7 +39,7 @@ typedef struct {
GLFWpentabletdatafun glfwTabletDataCallback;
GLFWpentabletcursorfun glfwTabletCursorCallback;
GLFWpentabletproximityfun glfwTabletProximityCallback;
-#elif PLATFORM_DESKTOP_SDL
+#elif PLATFORM_DESKTOP_SDL2
int SDL_eventQueueLen;
SDL_Event* SDL_eventQueue;
#endif