Shutdown OpenAL for ManagedStage

This commit is contained in:
Joshua Granick
2015-04-04 23:04:05 -07:00
parent 6a523ceae1
commit b0b526812b

View File

@@ -2,6 +2,7 @@
#include <Display.h>
#include <Surface.h>
#include <KeyCodes.h>
#include <Sound.h>
#include <map>
@@ -64,6 +65,10 @@ void ManagedStage::PumpEvent(Event &inEvent)
{
SetActiveSize(inEvent.x, inEvent.y);
}
else if (inEvent.type==etQuit)
{
Sound::Shutdown();
}
else
Stage::HandleEvent(inEvent);
}