aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/surfacesdl
diff options
context:
space:
mode:
authorJohannes Schickel2013-10-24 00:06:32 +0200
committerJohannes Schickel2013-10-24 00:06:32 +0200
commitea6d38d5f3b123b765e5bf8e2dc4f957e4b43eb6 (patch)
tree7ae9023d618e271f202e0847092ec2f92b9a9048 /backends/graphics/surfacesdl
parent281672e1718d5f960061b714f79924125922e1e5 (diff)
downloadscummvm-rg350-ea6d38d5f3b123b765e5bf8e2dc4f957e4b43eb6.tar.gz
scummvm-rg350-ea6d38d5f3b123b765e5bf8e2dc4f957e4b43eb6.tar.bz2
scummvm-rg350-ea6d38d5f3b123b765e5bf8e2dc4f957e4b43eb6.zip
SDL: Make activateManager/deactivateManager SdlGraphicsManager specific.
We can do this now that we can use virtual inheritance and dynamic_cast because we enabled RTTI.
Diffstat (limited to 'backends/graphics/surfacesdl')
-rw-r--r--backends/graphics/surfacesdl/surfacesdl-graphics.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index c946b8e747..15193e2da4 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -198,7 +198,7 @@ SurfaceSdlGraphicsManager::~SurfaceSdlGraphicsManager() {
}
void SurfaceSdlGraphicsManager::activateManager() {
- GraphicsManager::activateManager();
+ SdlGraphicsManager::activateManager();
initEventSource();
// Register the graphics manager as a event observer
@@ -212,7 +212,7 @@ void SurfaceSdlGraphicsManager::deactivateManager() {
}
deinitEventSource();
- GraphicsManager::deactivateManager();
+ SdlGraphicsManager::deactivateManager();
}
bool SurfaceSdlGraphicsManager::hasFeature(OSystem::Feature f) {