mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-13 11:48:05 +08:00
3d9f4c3328
Changed SDL_TRY_ACQUIRE and SDL_TRY_ACQUIRE_SHARED success value
from 0 to true for functions that now return bool instead of int.
This fixes false positives/negatives in Clang's thread safety analysis.
(cherry picked from commit 901173aee6)