diff options
author | Johannes Schickel | 2013-10-24 00:06:32 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-10-24 00:06:32 +0200 |
commit | ea6d38d5f3b123b765e5bf8e2dc4f957e4b43eb6 (patch) | |
tree | 7ae9023d618e271f202e0847092ec2f92b9a9048 /backends/graphics/surfacesdl | |
parent | 281672e1718d5f960061b714f79924125922e1e5 (diff) | |
download | scummvm-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.cpp | 4 |
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) { |