diff options
author | Alejandro Marzini | 2010-08-02 03:17:12 +0000 |
---|---|---|
committer | Alejandro Marzini | 2010-08-02 03:17:12 +0000 |
commit | 905ec1104e60ed9bb2d6f3b5964e7b9a3307249e (patch) | |
tree | 3773fbeb29ebc018b610cc99e3a26fb99aceeeec /backends/graphics/opengl/opengl-graphics.cpp | |
parent | 4d8f8195b8ba718fd4c76672276c4f57fc5953c5 (diff) | |
download | scummvm-rg350-905ec1104e60ed9bb2d6f3b5964e7b9a3307249e.tar.gz scummvm-rg350-905ec1104e60ed9bb2d6f3b5964e7b9a3307249e.tar.bz2 scummvm-rg350-905ec1104e60ed9bb2d6f3b5964e7b9a3307249e.zip |
OPENGL: Save last fullscreen mode size to config file.
svn-id: r51604
Diffstat (limited to 'backends/graphics/opengl/opengl-graphics.cpp')
-rw-r--r-- | backends/graphics/opengl/opengl-graphics.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp index 6963c4c1db..dfb020c256 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -27,6 +27,7 @@ #include "backends/graphics/opengl/opengl-graphics.h" #include "backends/graphics/opengl/glerrorcheck.h" +#include "common/config-manager.h" #include "common/file.h" #include "common/mutex.h" #include "common/translation.h" @@ -55,7 +56,7 @@ OpenGLGraphicsManager::OpenGLGraphicsManager() _videoMode.mode = OpenGL::GFX_DOUBLESIZE; _videoMode.scaleFactor = 2; - _videoMode.fullscreen = false; + _videoMode.fullscreen = ConfMan.getBool("fullscreen"); _videoMode.antialiasing = false; _videoMode.aspectRatioCorrection = 0; |