From 905ec1104e60ed9bb2d6f3b5964e7b9a3307249e Mon Sep 17 00:00:00 2001 From: Alejandro Marzini Date: Mon, 2 Aug 2010 03:17:12 +0000 Subject: OPENGL: Save last fullscreen mode size to config file. svn-id: r51604 --- backends/graphics/opengl/opengl-graphics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backends/graphics/opengl') 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; -- cgit v1.2.3