summaryrefslogtreecommitdiff
path: root/src/opengl1graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-02 17:17:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-02 17:58:42 +0300
commit1933978cb800c2348e8891c69b28e85c9417b32d (patch)
tree955fc9530dcd4ed4ecb60ad9c38e213c77610d6d /src/opengl1graphics.h
parent2f3a3d08b0ba71972e20ae639a2077e9d4d17b94 (diff)
downloadmanaplus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.gz
manaplus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.bz2
manaplus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.xz
manaplus-1933978cb800c2348e8891c69b28e85c9417b32d.zip
Use FBO for screenshots. Disabled for windows.
Diffstat (limited to 'src/opengl1graphics.h')
-rw-r--r--src/opengl1graphics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/opengl1graphics.h b/src/opengl1graphics.h
index 8cc3c89a7..6ed2d7440 100644
--- a/src/opengl1graphics.h
+++ b/src/opengl1graphics.h
@@ -28,9 +28,11 @@
#include "graphics.h"
-#define NO_SDL_GLEXT
+//#define NO_SDL_GLEXT
+#define GL_GLEXT_PROTOTYPES 1
#include <SDL_opengl.h>
+#include <GL/glext.h>
class OpenGL1Graphics : public Graphics
{