diff options
Diffstat (limited to 'backends/graphics/openglsdl')
| -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); |
