[PATCH 2/5] glx: Reduce compiler warnings by not requesting GL extension prototypes.

Eric Anholt eric at anholt.net
Mon Jan 27 11:36:06 PST 2014


They're not officially in the ABI, so you shouldn't use them anyway.
---
 glx/glxserver.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/glx/glxserver.h b/glx/glxserver.h
index 7f36e5f..3f2ae35 100644
--- a/glx/glxserver.h
+++ b/glx/glxserver.h
@@ -46,7 +46,6 @@
 #include <resource.h>
 #include <scrnintstr.h>
 
-#define GL_GLEXT_PROTOTYPES     /* we want prototypes */
 #include <GL/gl.h>
 #include <GL/glext.h>
 #include <GL/glxproto.h>
-- 
1.8.5.3



More information about the xorg-devel mailing list