summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-12 22:43:55 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-12 22:43:55 +0300
commita7c79fc47a8d8387cfe9c59c4e45725c0c0ecef1 (patch)
treecf311913d8fc6f26b7c783946b1f7c9583e35412 /src/render
parent81f2207d6fffec8cd74d107e7e67a7bbbff564e0 (diff)
downloadmv-a7c79fc47a8d8387cfe9c59c4e45725c0c0ecef1.tar.gz
mv-a7c79fc47a8d8387cfe9c59c4e45725c0c0ecef1.tar.bz2
mv-a7c79fc47a8d8387cfe9c59c4e45725c0c0ecef1.tar.xz
mv-a7c79fc47a8d8387cfe9c59c4e45725c0c0ecef1.zip
Fix warnings in nacl.
Diffstat (limited to 'src/render')
-rw-r--r--src/render/mgldefines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/mgldefines.h b/src/render/mgldefines.h
index 1af8acbba..4f765e2a4 100644
--- a/src/render/mgldefines.h
+++ b/src/render/mgldefines.h
@@ -23,11 +23,13 @@
#ifdef USE_OPENGL
+#ifndef GL_NUM_EXTENSIONS
#define GL_NUM_EXTENSIONS 0x821D
#define GL_DEPTH_ATTACHMENT 0x8D00
#define GL_COLOR_ATTACHMENT0 0x8CE0
#define GL_FRAMEBUFFER 0x8D40
#define GL_RENDERBUFFER 0x8D41
+#endif
#ifndef GL_COMPRESSED_RGBA_ARB
#define GL_COMPRESSED_RGBA_ARB 0x84EE