Fixed access violation when audio is closed and reopened. SDL_mixer does not allow this :-(
This commit is contained in:
1 parent
6b5a754e7b
commit
f3143d1b15
2 files changed
+2
-3
No files matched your search
@@ -839,7 +839,6 @@ void mainWindowImpl::callSettingsDialog() {
|
||||
}
|
||||
}
|
||||
// Re-init audio.
|
||||
mySDLPlayer->closeAudio();
|
||||
mySDLPlayer->initAudio();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user