summaryrefslogtreecommitdiff
path: root/src/openglgraphics.cpp
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.cpp
parent6494df1ca2a1c00b85828deb3b62f371338536fb (diff)
downloadmanaverse-2bcfc80fe18a7239e2eae5600e4ed118e038da32.tar.gz
manaverse-2bcfc80fe18a7239e2eae5600e4ed118e038da32.tar.bz2
manaverse-2bcfc80fe18a7239e2eae5600e4ed118e038da32.tar.xz
manaverse-2bcfc80fe18a7239e2eae5600e4ed118e038da32.zip
OpenGL fix for mac version.
Diffstat (limited to 'src/openglgraphics.cpp')
-rw-r--r--src/openglgraphics.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp
index 4f800bf9b..bcadb8c67 100644
--- a/src/openglgraphics.cpp
+++ b/src/openglgraphics.cpp
@@ -33,10 +33,6 @@
#include "utils/stringutils.h"
-#ifdef __APPLE__
-#include <OpenGL/OpenGL.h>
-#endif
-
#include <SDL.h>
#include "debug.h"
@@ -51,7 +47,7 @@ const unsigned int vertexBufSize = 500;
GLuint OpenGLGraphics::mLastImage = 0;
OpenGLGraphics::OpenGLGraphics():
- mAlpha(false), mTexture(false), mColorAlpha(false), mSync(false),
+ mAlpha(false), mTexture(false), mColorAlpha(false),
mFboId(0), mTextureId(0), mRboId(0)
{
mOpenGL = 1;
@@ -68,11 +64,6 @@ OpenGLGraphics::~OpenGLGraphics()
delete [] mIntVertArray;
}
-void OpenGLGraphics::setSync(bool sync)
-{
- mSync = sync;
-}
-
bool OpenGLGraphics::setVideoMode(int w, int h, int bpp, bool fs,
bool hwaccel, bool resize, bool noFrame)
{