diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-23 00:09:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-23 00:09:05 +0300 |
commit | 2bcfc80fe18a7239e2eae5600e4ed118e038da32 (patch) | |
tree | cd5c771c6954ffc83584be712ef49dd1b09a385e /src/opengl1graphics.cpp | |
parent | 6494df1ca2a1c00b85828deb3b62f371338536fb (diff) | |
download | mv-2bcfc80fe18a7239e2eae5600e4ed118e038da32.tar.gz mv-2bcfc80fe18a7239e2eae5600e4ed118e038da32.tar.bz2 mv-2bcfc80fe18a7239e2eae5600e4ed118e038da32.tar.xz mv-2bcfc80fe18a7239e2eae5600e4ed118e038da32.zip |
OpenGL fix for mac version.
Diffstat (limited to 'src/opengl1graphics.cpp')
-rw-r--r-- | src/opengl1graphics.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/opengl1graphics.cpp b/src/opengl1graphics.cpp index dd39adb8b..dbd983fb5 100644 --- a/src/opengl1graphics.cpp +++ b/src/opengl1graphics.cpp @@ -31,10 +31,6 @@ #include "resources/image.h" -#ifdef __APPLE__ -#include <OpenGL/OpenGL.h> -#endif - #include <SDL.h> #include "debug.h" @@ -47,7 +43,7 @@ GLuint OpenGL1Graphics::mLastImage = 0; OpenGL1Graphics::OpenGL1Graphics(): - mAlpha(false), mTexture(false), mColorAlpha(false), mSync(false), + mAlpha(false), mTexture(false), mColorAlpha(false), mFboId(0), mTextureId(0), mRboId(0) { mOpenGL = 2; @@ -58,11 +54,6 @@ OpenGL1Graphics::~OpenGL1Graphics() { } -void OpenGL1Graphics::setSync(bool sync) -{ - mSync = sync; -} - bool OpenGL1Graphics::setVideoMode(int w, int h, int bpp, bool fs, bool hwaccel, bool resize, bool noFrame) { |