Shutdown OpenAL for ManagedStage
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#include <Display.h>
|
#include <Display.h>
|
||||||
#include <Surface.h>
|
#include <Surface.h>
|
||||||
#include <KeyCodes.h>
|
#include <KeyCodes.h>
|
||||||
|
#include <Sound.h>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
|
|
||||||
@@ -64,6 +65,10 @@ void ManagedStage::PumpEvent(Event &inEvent)
|
|||||||
{
|
{
|
||||||
SetActiveSize(inEvent.x, inEvent.y);
|
SetActiveSize(inEvent.x, inEvent.y);
|
||||||
}
|
}
|
||||||
|
else if (inEvent.type==etQuit)
|
||||||
|
{
|
||||||
|
Sound::Shutdown();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
Stage::HandleEvent(inEvent);
|
Stage::HandleEvent(inEvent);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user