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:
1 parent
c6cad07faa
commit
cd633b9a88
8 files changed
+19
-14
No files matched your search
@@ -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