glapi: no longer emit #include "mfeatures.h" in generated files
authorBrian Paul <brianp@vmware.com>
Wed, 17 Apr 2013 15:49:39 +0000 (09:49 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Apr 2013 23:33:40 +0000 (17:33 -0600)
None of the symbols in mfeatures.h are used anymore.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mapi/glapi/gen/gl_enums.py
src/mapi/glapi/gen/gl_genexec.py
src/mapi/glapi/gen/gl_table.py

index 0bf8b0a9c61e6b4d255870c133872f76a70f4398..3bd511edcc862a5dd66b0ff2471cdca6b9471e5d 100644 (file)
@@ -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"'
index a85b4471afc76ac53158ff4c1ddcdf128115e7f4..826729815a51b663d4a1637fc19d07354514dbbf 100644 (file)
@@ -44,7 +44,6 @@ header = """/**
  */
 
 
-#include "main/mfeatures.h"
 #include "main/accum.h"
 #include "main/api_loopback.h"
 #include "main/api_exec.h"
index 99957f6ffbdebc063530f8f8ac295a552a52c9d6..fd384689f57b6a1a96c4cf7471966cf8f4b754de 100644 (file)
@@ -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