Use this function to decrement an atomic variable used as a reference count.
SDL_atomic_t* a) SDL_bool SDL_AtomicDecRef(
a |
a pointer to an SDL_atomic_t variable to be modified |
Returns SDL_TRUE if the variable reached zero after decrementing, SDL_FALSE otherwise.