Style fix and note for the unapparent code

This commit is contained in:
Dmitry Marakasov 2015-08-27 20:39:00 +03:00
parent 01ca026a25
commit ba7888ec2d

View File

@ -32,7 +32,8 @@ SDLMixer::SDLMixer(int flags) {
}
SDLMixer::~SDLMixer() {
while(Mix_Init(0))
// see https://www.libsdl.org/projects/SDL_mixer/docs/SDL_mixer.html#SEC10
while (Mix_Init(0))
Mix_Quit();
}