summaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
authorjussi2025-03-12 23:26:01 +0200
committerjussi2025-03-12 23:26:01 +0200
commit63f3c1781cec32bd4603cd92a9b788e3000a9594 (patch)
tree977b1847a2b7cd4c1dada94597a19a6acaa72c1b /src/state.c
parentbfa73944f7e8a3a239ed105871a0912e8b22ed15 (diff)
downloadreilua-enhanced-63f3c1781cec32bd4603cd92a9b788e3000a9594.tar.gz
reilua-enhanced-63f3c1781cec32bd4603cd92a9b788e3000a9594.tar.bz2
reilua-enhanced-63f3c1781cec32bd4603cd92a9b788e3000a9594.zip
Basic sdl3 support.
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c2
1 files changed, 1 insertions, 1 deletions
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