diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-02 17:17:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-02 17:58:42 +0300 |
commit | 1933978cb800c2348e8891c69b28e85c9417b32d (patch) | |
tree | 955fc9530dcd4ed4ecb60ad9c38e213c77610d6d /src/opengl1graphics.h | |
parent | 2f3a3d08b0ba71972e20ae639a2077e9d4d17b94 (diff) | |
download | plus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.gz plus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.bz2 plus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.xz plus-1933978cb800c2348e8891c69b28e85c9417b32d.zip |
Use FBO for screenshots. Disabled for windows.
Diffstat (limited to 'src/opengl1graphics.h')
-rw-r--r-- | src/opengl1graphics.h | 4 |
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 { |