summaryrefslogtreecommitdiff
path: root/src/openglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-23 00:09:05 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-23 00:09:05 +0300
commit2bcfc80fe18a7239e2eae5600e4ed118e038da32 (patch)
treecd5c771c6954ffc83584be712ef49dd1b09a385e /src/openglgraphics.h
parent6494df1ca2a1c00b85828deb3b62f371338536fb (diff)
downloadplus-2bcfc80fe18a7239e2eae5600e4ed118e038da32.tar.gz
plus-2bcfc80fe18a7239e2eae5600e4ed118e038da32.tar.bz2
plus-2bcfc80fe18a7239e2eae5600e4ed118e038da32.tar.xz
plus-2bcfc80fe18a7239e2eae5600e4ed118e038da32.zip
OpenGL fix for mac version.
Diffstat (limited to 'src/openglgraphics.h')
-rw-r--r--src/openglgraphics.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/openglgraphics.h b/src/openglgraphics.h
index 8d90ec72a..e088fa4e2 100644
--- a/src/openglgraphics.h
+++ b/src/openglgraphics.h
@@ -43,15 +43,6 @@ class OpenGLGraphics : public Graphics
~OpenGLGraphics();
- /**
- * Sets whether vertical refresh syncing is enabled. Takes effect after
- * the next call to setVideoMode(). Only implemented on MacOS for now.
- */
- void setSync(bool sync);
-
- bool getSync() const
- { return mSync; }
-
bool setVideoMode(int w, int h, int bpp, bool fs,
bool hwaccel, bool resize, bool noFrame);
@@ -167,7 +158,6 @@ class OpenGLGraphics : public Graphics
GLint *mIntVertArray;
bool mAlpha, mTexture;
bool mColorAlpha;
- bool mSync;
GLuint mFboId;
GLuint mTextureId;
GLuint mRboId;