From 2bcfc80fe18a7239e2eae5600e4ed118e038da32 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 May 2012 00:09:05 +0300 Subject: OpenGL fix for mac version. --- src/openglgraphics.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/openglgraphics.cpp') 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 -#endif - #include #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) { -- cgit v1.2.3-60-g2f50