Basic sdl3 support.

This commit is contained in:
jussi
2025-03-12 23:26:01 +02:00
parent bfa73944f7
commit 63f3c1781c
10 changed files with 58 additions and 16 deletions

View File

@@ -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