Mesa (master): glapi/glx: Generate dispatch. h so that the xserver can use it
Ian Romanick
idr at kemper.freedesktop.org
Wed Dec 14 00:08:25 UTC 2011
Module: Mesa
Branch: master
Commit: af50f3bf4415c868259ce8ee5a0fe344f3539ecc
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=af50f3bf4415c868259ce8ee5a0fe344f3539ecc
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Mon Dec 5 15:24:05 2011 -0800
glapi/glx: Generate dispatch.h so that the xserver can use it
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Adam Jackson <ajax at redhat.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
More information about the mesa-commit
mailing list