From af50f3bf4415c868259ce8ee5a0fe344f3539ecc Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 5 Dec 2011 15:24:05 -0800 Subject: glapi/glx: Generate dispatch.h so that the xserver can use it Signed-off-by: Ian Romanick Reviewed-by: Brian Paul Reviewed-by: Adam Jackson --- src/mapi/glapi/gen/gl_table.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/mapi/glapi/gen/gl_table.py b/src/mapi/glapi/gen/gl_table.py index f6182b60bc3..7f3b91513fe 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 -- cgit v1.2.3