From 45354676ebe14df8d382681621f1d994258dbb72 Mon Sep 17 00:00:00 2001 From: David-John Willis Date: Mon, 23 Jul 2012 22:28:10 +0100 Subject: OPENPANDORA: Move SDL_CreateCursor hacklet from init to loadGFXMode. * Fixes a bug that can occur on load. --- backends/graphics/gph/gph-graphics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backends/graphics/gph') 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 { -- cgit v1.2.3