From c6e00b6f6c9ea54ac10a0fbb6af85d9673f9db2f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 17 Apr 2013 09:49:39 -0600 Subject: [PATCH] glapi: no longer emit #include "mfeatures.h" in generated files None of the symbols in mfeatures.h are used anymore. Reviewed-by: Jordan Justen --- src/mapi/glapi/gen/gl_enums.py | 1 - src/mapi/glapi/gen/gl_genexec.py | 1 - src/mapi/glapi/gen/gl_table.py | 6 ------ 3 files changed, 8 deletions(-) diff --git a/src/mapi/glapi/gen/gl_enums.py b/src/mapi/glapi/gen/gl_enums.py index 0bf8b0a9c61..3bd511edcc8 100644 --- a/src/mapi/glapi/gen/gl_enums.py +++ b/src/mapi/glapi/gen/gl_enums.py @@ -43,7 +43,6 @@ class PrintGlEnums(gl_XML.gl_print_base): def printRealHeader(self): print '#include "main/glheader.h"' - print '#include "main/mfeatures.h"' print '#include "main/enums.h"' print '#include "main/imports.h"' print '#include "main/mtypes.h"' diff --git a/src/mapi/glapi/gen/gl_genexec.py b/src/mapi/glapi/gen/gl_genexec.py index a85b4471afc..826729815a5 100644 --- a/src/mapi/glapi/gen/gl_genexec.py +++ b/src/mapi/glapi/gen/gl_genexec.py @@ -44,7 +44,6 @@ header = """/** */ -#include "main/mfeatures.h" #include "main/accum.h" #include "main/api_loopback.h" #include "main/api_exec.h" diff --git a/src/mapi/glapi/gen/gl_table.py b/src/mapi/glapi/gen/gl_table.py index 99957f6ffbd..fd384689f57 100644 --- a/src/mapi/glapi/gen/gl_table.py +++ b/src/mapi/glapi/gen/gl_table.py @@ -97,12 +97,6 @@ class PrintRemapTable(gl_XML.gl_print_base): * can SET_FuncName, are used to get and set the dispatch pointer for the * 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 -- 2.30.2