summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index e6fc44865..ac917a61b 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -415,6 +415,10 @@ class Graphics notfinal
*/
virtual const ClipRect *getCurrentClipArea() const;
+#ifdef USE_OPENGL
+ virtual void createGLContext();
+#endif
+
/**
* Draws a single point/pixel.
*
@@ -504,8 +508,6 @@ class Graphics notfinal
bool videoInfo();
#ifdef USE_OPENGL
- virtual void createGLContext();
-
void setOpenGLFlags();
#endif
/**