mirror of
https://github.com/yawut/SDL.git
synced 2026-08-26 18:55:32 -05:00
Patched to compile on pre-C99 compilers.
This commit is contained in:
@@ -1172,11 +1172,12 @@ SDL_CloseAudio(void)
|
||||
void
|
||||
SDL_AudioQuit(void)
|
||||
{
|
||||
SDL_AudioDeviceID i;
|
||||
|
||||
if (!current_audio.name) { /* not initialized?! */
|
||||
return;
|
||||
}
|
||||
|
||||
SDL_AudioDeviceID i;
|
||||
for (i = 0; i < SDL_arraysize(open_devices); i++) {
|
||||
if (open_devices[i] != NULL) {
|
||||
SDL_CloseAudioDevice(i);
|
||||
|
||||
Reference in New Issue
Block a user