aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl
diff options
context:
space:
mode:
authorJohannes Schickel2011-03-17 20:29:48 +0100
committerJohannes Schickel2011-03-17 21:20:20 +0100
commitf490e6f361e55c2347b51611eb8f03a721630421 (patch)
treedef150751a0f19ee74e3e92ac686257a655cc6ae /backends/graphics/opengl
parent83b199e9212092bcc737e36eb3f0cff0666ddeac (diff)
downloadscummvm-rg350-f490e6f361e55c2347b51611eb8f03a721630421.tar.gz
scummvm-rg350-f490e6f361e55c2347b51611eb8f03a721630421.tar.bz2
scummvm-rg350-f490e6f361e55c2347b51611eb8f03a721630421.zip
OPENGLSDL: More refactoring to avoid direct access of OpenGlGraphicsManager's members.
Diffstat (limited to 'backends/graphics/opengl')
-rw-r--r--backends/graphics/opengl/opengl-graphics.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h
index c8b64fab89..8432d8346c 100644
--- a/backends/graphics/opengl/opengl-graphics.h
+++ b/backends/graphics/opengl/opengl-graphics.h
@@ -181,6 +181,11 @@ protected:
void setFullscreenMode(bool enable);
/**
+ * Query the fullscreen state.
+ */
+ inline bool getFullscreenMode() const { return _videoMode.fullscreen; }
+
+ /**
* Set the scale factor.
*
* This can only be used in a GFX transaction.