diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/state.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/state.h b/include/state.h index a6b5118..24679c6 100644 --- a/include/state.h +++ b/include/state.h @@ -1,6 +1,6 @@ #pragma once -#ifdef PLATFORM_DESKTOP_SDL2 +#if defined PLATFORM_DESKTOP_SDL2 || defined PLATFORM_DESKTOP_SDL3 #define PLATFORM_SDL_EVENT_QUEUE_LEN 128 #endif @@ -39,7 +39,7 @@ typedef struct { GLFWpentabletdatafun glfwTabletDataCallback; GLFWpentabletcursorfun glfwTabletCursorCallback; GLFWpentabletproximityfun glfwTabletProximityCallback; -#elif PLATFORM_DESKTOP_SDL2 +#elif defined PLATFORM_DESKTOP_SDL2 || defined PLATFORM_DESKTOP_SDL3 int SDL_eventQueueLen; SDL_Event* SDL_eventQueue; #endif |
