Renamed SDL_IsAudioDevicePaused() to SDL_AudioDevicePaused()
This aligns with the SDL3 convention of removing "Is" from self-explanatory function names Also improved some documentation in SDL_audio.h
This commit is contained in:
@@ -54,7 +54,7 @@ static void loop(void)
|
||||
}
|
||||
}
|
||||
|
||||
if (!SDL_IsAudioDevicePaused(devid_in)) {
|
||||
if (!SDL_AudioDevicePaused(devid_in)) {
|
||||
SDL_SetRenderDrawColor(renderer, 0, 255, 0, 255);
|
||||
} else {
|
||||
SDL_SetRenderDrawColor(renderer, 255, 0, 0, 255);
|
||||
|
||||
Reference in New Issue
Block a user