diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2007-08-27 17:47:16 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2007-08-27 17:47:16 +0000 |
commit | fa6183886117f01f619f167c4948af05848b9ddd (patch) | |
tree | 813cb27fa5377ad4024d941d8e1c4c344148e3cc /src | |
parent | 4abed272455c535ed87445f97cfe103c1ddb8d37 (diff) | |
download | mana-fa6183886117f01f619f167c4948af05848b9ddd.tar.gz mana-fa6183886117f01f619f167c4948af05848b9ddd.tar.bz2 mana-fa6183886117f01f619f167c4948af05848b9ddd.tar.xz mana-fa6183886117f01f619f167c4948af05848b9ddd.zip |
Fixed compilation with old OpenGL headers.
Diffstat (limited to 'src')
-rw-r--r-- | src/openglgraphics.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/openglgraphics.cpp b/src/openglgraphics.cpp index 509107d5..375c43a0 100644 --- a/src/openglgraphics.cpp +++ b/src/openglgraphics.cpp @@ -25,6 +25,11 @@ #ifdef USE_OPENGL +#ifndef GL_TEXTURE_RECTANGLE_ARB +#define GL_TEXTURE_RECTANGLE_ARB 0x84F5 +#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 +#endif + #include "openglgraphics.h" #include <cstring> |