summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-18 02:12:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-18 12:21:50 +0300
commit97d7980671ab621bfee994c0acf410ee2012ddcd (patch)
treea76c630416d876eaf6f380d9fdca5c3b653bed17 /src/render
parentd119e4425f418afe1198839a57e7b186d717d587 (diff)
downloadManaVerse-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.h4
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