SDL: Further small cleanup related to manager switching.
This commit is contained in:
parent
ea6d38d5f3
commit
cfa6b1b4ae
4 changed files with 4 additions and 11 deletions
|
@ -74,7 +74,6 @@ OpenGLSdlGraphicsManager::~OpenGLSdlGraphicsManager() {
|
|||
|
||||
void OpenGLSdlGraphicsManager::activateManager() {
|
||||
SdlGraphicsManager::activateManager();
|
||||
initEventSource();
|
||||
|
||||
// Register the graphics manager as a event observer
|
||||
g_system->getEventManager()->getEventDispatcher()->registerObserver(this, 10, false);
|
||||
|
@ -86,7 +85,6 @@ void OpenGLSdlGraphicsManager::deactivateManager() {
|
|||
g_system->getEventManager()->getEventDispatcher()->unregisterObserver(this);
|
||||
}
|
||||
|
||||
deinitEventSource();
|
||||
SdlGraphicsManager::deactivateManager();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue