aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/surfacesdl
diff options
context:
space:
mode:
authorJohannes Schickel2013-10-24 00:09:17 +0200
committerJohannes Schickel2013-10-24 00:09:17 +0200
commitcfa6b1b4ae690a6712ef9b2fa6a5f21ff3c2173b (patch)
treee6190ddef067e8eb520e5aa4b7a462b83c722eef /backends/graphics/surfacesdl
parentea6d38d5f3b123b765e5bf8e2dc4f957e4b43eb6 (diff)
downloadscummvm-rg350-cfa6b1b4ae690a6712ef9b2fa6a5f21ff3c2173b.tar.gz
scummvm-rg350-cfa6b1b4ae690a6712ef9b2fa6a5f21ff3c2173b.tar.bz2
scummvm-rg350-cfa6b1b4ae690a6712ef9b2fa6a5f21ff3c2173b.zip
SDL: Further small cleanup related to manager switching.
Diffstat (limited to 'backends/graphics/surfacesdl')
-rw-r--r--backends/graphics/surfacesdl/surfacesdl-graphics.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index 15193e2da4..d15fd6d8ef 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -199,7 +199,6 @@ SurfaceSdlGraphicsManager::~SurfaceSdlGraphicsManager() {
void SurfaceSdlGraphicsManager::activateManager() {
SdlGraphicsManager::activateManager();
- initEventSource();
// Register the graphics manager as a event observer
g_system->getEventManager()->getEventDispatcher()->registerObserver(this, 10, false);
@@ -211,7 +210,6 @@ void SurfaceSdlGraphicsManager::deactivateManager() {
g_system->getEventManager()->getEventDispatcher()->unregisterObserver(this);
}
- deinitEventSource();
SdlGraphicsManager::deactivateManager();
}