SDL: Fix compilation by moving getMixerManager out of USE_OPENGL guard.

This commit is contained in:
Johannes Schickel 2013-06-03 02:25:22 +02:00 committed by Eugene Sandulenko
parent fa61a35acd
commit 93fc260885

View File

@ -501,6 +501,10 @@ SdlMixerManager *OSystem_SDL::getMixerManager() {
return g_eventRec.getMixerManager();
}
Common::TimerManager *OSystem_SDL::getTimerManager() {
return g_eventRec.getTimerManager();
}
#ifdef USE_OPENGL
const OSystem::GraphicsMode *OSystem_SDL::getSupportedGraphicsModes() const {
@ -656,8 +660,4 @@ void OSystem_SDL::setupGraphicsModes() {
}
}
Common::TimerManager *OSystem_SDL::getTimerManager() {
return g_eventRec.getTimerManager();
}
#endif