diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-09 19:20:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-09 20:25:57 +0300 |
commit | 62a416d5585106c2ce8e2259036740e7ba2c70c7 (patch) | |
tree | 4036eb451cba39c6353658353cc80d42a6b9f044 /src/render/mgldefines.h | |
parent | 6e052536a2dfb7f877a356477bc86c904aae1e71 (diff) | |
download | manaplus-62a416d5585106c2ce8e2259036740e7ba2c70c7.tar.gz manaplus-62a416d5585106c2ce8e2259036740e7ba2c70c7.tar.bz2 manaplus-62a416d5585106c2ce8e2259036740e7ba2c70c7.tar.xz manaplus-62a416d5585106c2ce8e2259036740e7ba2c70c7.zip |
Improve initial OpenGL state.
Moved shared code into separate method.
Diffstat (limited to 'src/render/mgldefines.h')
-rw-r--r-- | src/render/mgldefines.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/mgldefines.h b/src/render/mgldefines.h index d42dca853..3185e856b 100644 --- a/src/render/mgldefines.h +++ b/src/render/mgldefines.h @@ -92,6 +92,12 @@ #define GL_INFO_LOG_LENGTH 0x8B84 #endif +#ifndef GL_DEPTH_CLAMP +#define GL_DEPTH_CLAMP 0x864F +#define GL_RASTERIZER_DISCARD 0x8C89 +#define GL_SAMPLE_MASK 0x8E51 +#endif + #endif // USE_OPENGL #endif // RENDER_MGLDEFINES_H |