aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/opengl-graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/graphics/opengl/opengl-graphics.h')
-rw-r--r--backends/graphics/opengl/opengl-graphics.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h
index 3518d07fe7..976524e713 100644
--- a/backends/graphics/opengl/opengl-graphics.h
+++ b/backends/graphics/opengl/opengl-graphics.h
@@ -176,7 +176,14 @@ protected:
virtual bool loadGFXMode();
virtual void unloadGFXMode();
- virtual void setScale(int newScale);
+ /**
+ * Set the scale factor.
+ *
+ * This can only be used in a GFX transaction.
+ *
+ * @param newScale New scale factor.
+ */
+ void setScale(int newScale);
/**
* Query the scale factor.