aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/opengl-graphics.h
diff options
context:
space:
mode:
authorJohannes Schickel2011-03-17 20:35:04 +0100
committerJohannes Schickel2011-03-17 21:20:20 +0100
commit8d35d91bdf3eab421233c6b971d6dec39b2f45b0 (patch)
tree0f9947f2f46780a1c5f08a67f94b9bb6a8cf647e /backends/graphics/opengl/opengl-graphics.h
parentf490e6f361e55c2347b51611eb8f03a721630421 (diff)
downloadscummvm-rg350-8d35d91bdf3eab421233c6b971d6dec39b2f45b0.tar.gz
scummvm-rg350-8d35d91bdf3eab421233c6b971d6dec39b2f45b0.tar.bz2
scummvm-rg350-8d35d91bdf3eab421233c6b971d6dec39b2f45b0.zip
OPENGL: Cleanup switchDisplayMode.
Diffstat (limited to 'backends/graphics/opengl/opengl-graphics.h')
-rw-r--r--backends/graphics/opengl/opengl-graphics.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h
index 8432d8346c..f674015b4a 100644
--- a/backends/graphics/opengl/opengl-graphics.h
+++ b/backends/graphics/opengl/opengl-graphics.h
@@ -219,7 +219,10 @@ protected:
/**
* Sets the dispaly mode.
- * @mode the dispaly mode, if -1 it will switch to next mode. If -2 to previous mode.
+ *
+ * This can only be used in a GFX transaction.
+ *
+ * @param mode the dispaly mode, if -1 it will switch to next mode. If -2 to previous mode.
*/
virtual void switchDisplayMode(int mode);