mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-30 15:08:31 +00:00
Renamed atomic functions to match SDL 3.0 naming convention
This will also allow us to cleanly add atomic operations for other types in the future.
This commit is contained in:
@@ -165,7 +165,7 @@ void SDL_QuitLog(void)
|
||||
|
||||
static void SDL_CheckInitLog(void)
|
||||
{
|
||||
int status = SDL_AtomicGet(&SDL_log_init.status);
|
||||
int status = SDL_GetAtomicInt(&SDL_log_init.status);
|
||||
if (status == SDL_INIT_STATUS_INITIALIZED ||
|
||||
(status == SDL_INIT_STATUS_INITIALIZING && SDL_log_init.thread == SDL_GetCurrentThreadID())) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user