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