mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-17 07:16:00 +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:
@@ -194,7 +194,7 @@ static int ReadInput(SDL_DriverWii_Context *ctx)
|
||||
int size;
|
||||
|
||||
// Make sure we don't try to read at the same time a write is happening
|
||||
if (SDL_AtomicGet(&ctx->device->rumble_pending) > 0) {
|
||||
if (SDL_GetAtomicInt(&ctx->device->rumble_pending) > 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user