diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-18 02:12:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-18 12:21:50 +0300 |
commit | 97d7980671ab621bfee994c0acf410ee2012ddcd (patch) | |
tree | a76c630416d876eaf6f380d9fdca5c3b653bed17 /src/render | |
parent | d119e4425f418afe1198839a57e7b186d717d587 (diff) | |
download | manaverse-97d7980671ab621bfee994c0acf410ee2012ddcd.tar.gz manaverse-97d7980671ab621bfee994c0acf410ee2012ddcd.tar.bz2 manaverse-97d7980671ab621bfee994c0acf410ee2012ddcd.tar.xz manaverse-97d7980671ab621bfee994c0acf410ee2012ddcd.zip |
Add bptc texture compression support.
Add workaround for MESA for using bptc.
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/mgldefines.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/mgldefines.h b/src/render/mgldefines.h index 2a063accf..5b3497131 100644 --- a/src/render/mgldefines.h +++ b/src/render/mgldefines.h @@ -120,6 +120,10 @@ #define GLX_CONTEXT_FLAGS_ARB 0x2094 #endif +#ifndef GL_COMPRESSED_RGBA_BPTC_UNORM_ARB +#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C +#endif + #endif // USE_OPENGL #endif // RENDER_MGLDEFINES_H |