Shutdown OpenAL for ManagedStage
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user