diff options
author | Willem Jan Palenstijn | 2010-11-28 17:12:43 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2010-11-28 17:12:43 +0000 |
commit | 66cb595f224f15f0e71b9d695bdaa2549158fbae (patch) | |
tree | abee7b85747e808a110ce91cc544345cf8c2a141 /backends/graphics/openglsdl/openglsdl-graphics.cpp | |
parent | 54b756e1baf67d0f6f7a8abea4ae3e656297a5c7 (diff) | |
download | scummvm-rg350-66cb595f224f15f0e71b9d695bdaa2549158fbae.tar.gz scummvm-rg350-66cb595f224f15f0e71b9d695bdaa2549158fbae.tar.bz2 scummvm-rg350-66cb595f224f15f0e71b9d695bdaa2549158fbae.zip |
SDL: re-enable unicode after graphics init
svn-id: r54531
Diffstat (limited to 'backends/graphics/openglsdl/openglsdl-graphics.cpp')
-rw-r--r-- | backends/graphics/openglsdl/openglsdl-graphics.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp index 447bc77afe..940dd8089a 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -44,6 +44,10 @@ OpenGLSdlGraphicsManager::OpenGLSdlGraphicsManager() error("Could not initialize SDL: %s", SDL_GetError()); } + // This is also called in initSDL(), but initializing graphics + // may reset it. + SDL_EnableUNICODE(1); + // Disable OS cursor SDL_ShowCursor(SDL_DISABLE); |