diff options
author | Johannes Schickel | 2011-06-19 19:09:55 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-06-19 19:12:34 +0200 |
commit | f9f16ee35823db90ff561b06af05a2c02d341fc9 (patch) | |
tree | 7af4989fadd75bda1513ce4b94a8a02df6e64c4c /backends/graphics/openglsdl | |
parent | e0eb86826e5855bae1a8cc2ce81fa935b891d128 (diff) | |
download | scummvm-rg350-f9f16ee35823db90ff561b06af05a2c02d341fc9.tar.gz scummvm-rg350-f9f16ee35823db90ff561b06af05a2c02d341fc9.tar.bz2 scummvm-rg350-f9f16ee35823db90ff561b06af05a2c02d341fc9.zip |
OPENGLSDL: Add FIXME about desktop resolution retrieving.
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 0fcee18605..eefba59089 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -54,6 +54,10 @@ OpenGLSdlGraphicsManager::OpenGLSdlGraphicsManager() SDL_ShowCursor(SDL_DISABLE); // Get desktop resolution + // TODO: In case the OpenGL manager is created *after* a plain SDL manager + // has been used, this will return the last setup graphics mode rather + // than the desktop resolution. We should really look into a way to + // properly retrieve the desktop resolution. const SDL_VideoInfo *videoInfo = SDL_GetVideoInfo(); if (videoInfo->current_w > 0 && videoInfo->current_h > 0) { _desktopWidth = videoInfo->current_w; |