Patched to compile on pre-C99 compilers.
This commit is contained in:
parent
65a277c322
commit
0634073030
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue