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

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