aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/gph/gph-graphics.cpp
diff options
context:
space:
mode:
authorDavid-John Willis2012-07-23 22:28:10 +0100
committerDavid-John Willis2012-07-24 10:08:58 +0100
commit45354676ebe14df8d382681621f1d994258dbb72 (patch)
treed98f70af12f0de457d6f577f10c130cd573e0a0b /backends/graphics/gph/gph-graphics.cpp
parent3d395545cb1514ba4a07a785e58782462a3b1a94 (diff)
downloadscummvm-rg350-45354676ebe14df8d382681621f1d994258dbb72.tar.gz
scummvm-rg350-45354676ebe14df8d382681621f1d994258dbb72.tar.bz2
scummvm-rg350-45354676ebe14df8d382681621f1d994258dbb72.zip
OPENPANDORA: Move SDL_CreateCursor hacklet from init to loadGFXMode.
* Fixes a bug that can occur on load.
Diffstat (limited to 'backends/graphics/gph/gph-graphics.cpp')
-rw-r--r--backends/graphics/gph/gph-graphics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/graphics/gph/gph-graphics.cpp b/backends/graphics/gph/gph-graphics.cpp
index 8521e88eaf..5d4baefc6e 100644
--- a/backends/graphics/gph/gph-graphics.cpp
+++ b/backends/graphics/gph/gph-graphics.cpp
@@ -36,7 +36,8 @@ static const OSystem::GraphicsMode s_supportedGraphicsModes[] = {
};
GPHGraphicsManager::GPHGraphicsManager(SdlEventSource *sdlEventSource)
- : SurfaceSdlGraphicsManager(sdlEventSource) {
+ : SurfaceSdlGraphicsManager(sdlEventSource),
+ _cursorDontScale(true) {
}
const OSystem::GraphicsMode *GPHGraphicsManager::getSupportedGraphicsModes() const {