[Mesa-dev] [PATCH 5/7] glapi/glx: Generate dispatch.h so that the xserver can use it

Ian Romanick idr at freedesktop.org
Thu Dec 8 12:47:30 PST 2011


From: Ian Romanick <ian.d.romanick at intel.com>

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 src/mapi/glapi/gen/gl_table.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mapi/glapi/gen/gl_table.py b/src/mapi/glapi/gen/gl_table.py
index f6182b6..7f3b915 100644
--- a/src/mapi/glapi/gen/gl_table.py
+++ b/src/mapi/glapi/gen/gl_table.py
@@ -92,7 +92,11 @@ class PrintRemapTable(gl_XML.gl_print_base):
  * named function in the specified dispatch table.
  */
 
+/* GLXEXT is defined when building the GLX extension in the xserver.
+ */
+#if !defined(GLXEXT)
 #include "main/mfeatures.h"
+#endif
 """
 		return
 
-- 
1.7.6.4



More information about the mesa-dev mailing list