summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-09 19:20:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-09 20:25:57 +0300
commit62a416d5585106c2ce8e2259036740e7ba2c70c7 (patch)
tree4036eb451cba39c6353658353cc80d42a6b9f044 /src/render/graphics.h
parent6e052536a2dfb7f877a356477bc86c904aae1e71 (diff)
downloadplus-62a416d5585106c2ce8e2259036740e7ba2c70c7.tar.gz
plus-62a416d5585106c2ce8e2259036740e7ba2c70c7.tar.bz2
plus-62a416d5585106c2ce8e2259036740e7ba2c70c7.tar.xz
plus-62a416d5585106c2ce8e2259036740e7ba2c70c7.zip
Improve initial OpenGL state.
Moved shared code into separate method.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index 3a051ed55..e6fc44865 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -505,6 +505,8 @@ class Graphics notfinal
#ifdef USE_OPENGL
virtual void createGLContext();
+
+ void setOpenGLFlags();
#endif
/**
* Holds the clip area stack.