glapi: no longer emit #include "mfeatures.h" in generated files
None of the symbols in mfeatures.h are used anymore. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
@@ -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"'
|
||||
|
@@ -44,7 +44,6 @@ header = """/**
|
||||
*/
|
||||
|
||||
|
||||
#include "main/mfeatures.h"
|
||||
#include "main/accum.h"
|
||||
#include "main/api_loopback.h"
|
||||
#include "main/api_exec.h"
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user