aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/openpandora
diff options
context:
space:
mode:
authorJohannes Schickel2013-10-22 12:24:20 +0200
committerJohannes Schickel2013-10-23 22:59:13 +0200
commit092d36f39204df71038a1567c0d4d55bf854b523 (patch)
tree835a07cc537c62f80f10ca2a8f8bb2478ebccad7 /backends/platform/openpandora
parentc323dedf3c5bc293e664d298b74be63658fc55bf (diff)
downloadscummvm-rg350-092d36f39204df71038a1567c0d4d55bf854b523.tar.gz
scummvm-rg350-092d36f39204df71038a1567c0d4d55bf854b523.tar.bz2
scummvm-rg350-092d36f39204df71038a1567c0d4d55bf854b523.zip
SDL: Reduce code duplication a bit.
Now instead of initializing this in OSystem_SDL::initSDL (and in subclasses overwriting this) we simply initialize it in OSystem_SDL::init.
Diffstat (limited to 'backends/platform/openpandora')
-rw-r--r--backends/platform/openpandora/op-backend.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/backends/platform/openpandora/op-backend.cpp b/backends/platform/openpandora/op-backend.cpp
index 4350d697e2..60c3cc7191 100644
--- a/backends/platform/openpandora/op-backend.cpp
+++ b/backends/platform/openpandora/op-backend.cpp
@@ -168,12 +168,6 @@ void OSystem_OP::initSDL() {
if (SDL_Init(sdlFlags) == -1)
error("Could not initialize SDL: %s", SDL_GetError());
- // Enable unicode support if possible
- SDL_EnableUNICODE(1);
-
- // Disable OS cursor
- SDL_ShowCursor(SDL_DISABLE);
-
_initedSDL = true;
}
}