Removed SDL_ATOMIC_DISABLED

It turns out that because we redefine SDL functions internally, it is safe to call SDL mutex functions while initializing the jump table
This commit is contained in:
Sam Lantinga
2024-01-16 21:17:01 -08:00
parent 6e1b11368d
commit 31f34e9504
4 changed files with 17 additions and 31 deletions

View File

@@ -210,7 +210,6 @@ if(EMSCRIPTEN)
set(SDL_ASSEMBLY_DEFAULT OFF)
set(SDL_SHARED_AVAILABLE OFF)
set(SDL_ATOMIC_DEFAULT OFF)
endif()
if(VITA OR PSP OR PS2 OR N3DS OR RISCOS)
@@ -238,7 +237,6 @@ if(SDL_SHARED_DEFAULT AND SDL_STATIC_DEFAULT AND SDL_SHARED_AVAILABLE)
endif()
set(SDL_SUBSYSTEMS
Atomic
Audio
Video
Render