From 63f3c1781cec32bd4603cd92a9b788e3000a9594 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 12 Mar 2025 23:26:01 +0200 Subject: Basic sdl3 support. --- src/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/state.c') diff --git a/src/state.c b/src/state.c index fdfdbd0..8f8c03d 100644 --- a/src/state.c +++ b/src/state.c @@ -29,7 +29,7 @@ void stateContextInit() { state->defaultTexture = (Texture){ 1, 1, 1, 1, 7 }; state->shapesTexture = (Texture){ 1, 1, 1, 1, 7 }; state->RLGLcurrentShaderLocs = malloc( RL_MAX_SHADER_LOCATIONS * sizeof( int ) ); -#ifdef PLATFORM_DESKTOP_SDL +#ifdef PLATFORM_DESKTOP_SDL2 state->SDL_eventQueue = malloc( PLATFORM_SDL_EVENT_QUEUE_LEN * sizeof( SDL_Event ) ); state->SDL_eventQueueLen = 0; #endif -- cgit v1.2.3