evas gl: fix build when GL_COVERAGE_SAMPLES_NV is defined byg <GL/gl.h>
authorBoris Faure <billiob@gmail.com>
Thu, 19 Feb 2015 21:51:14 +0000 (22:51 +0100)
committerBoris Faure <billiob@gmail.com>
Thu, 19 Feb 2015 21:52:50 +0000 (22:52 +0100)
src/lib/evas/Evas_GL.h

index c3ce92a..eaaaf92 100644 (file)
@@ -2226,7 +2226,9 @@ typedef signed int       GLfixed;      // Changed khronos_int32_t
 #define GL_COVERAGE_COMPONENT4_NV         0x8ED1
 #define GL_COVERAGE_ATTACHMENT_NV         0x8ED2
 #define GL_COVERAGE_BUFFERS_NV            0x8ED3
+#ifndef GL_COVERAGE_SAMPLES_NV
 #define GL_COVERAGE_SAMPLES_NV            0x8ED4
+#endif
 #define GL_COVERAGE_ALL_FRAGMENTS_NV      0x8ED5
 #define GL_COVERAGE_EDGE_FRAGMENTS_NV     0x8ED6
 #define GL_COVERAGE_AUTOMATIC_NV          0x8ED7