Remove superfluous glapi AM_CONDITIONAL()s
These various conditionals are always true or false and hence can be removed. Signed-off-by: Brian Nguyen <brnguyen@nvidia.com>
This commit is contained in:
parent
09300ed6b1
commit
c04905563a
|
@ -99,14 +99,6 @@ fi
|
|||
dnl Various conditionals.
|
||||
AM_CONDITIONAL([GCC], [test x$GCC = xyes ])
|
||||
|
||||
AM_CONDITIONAL(HAVE_VND_GLAPI, true)
|
||||
dnl HACK FIXME TODO
|
||||
AM_CONDITIONAL(HAVE_SHARED_GLAPI, false)
|
||||
AM_CONDITIONAL(HAVE_OPENGL, false)
|
||||
AM_CONDITIONAL(HAVE_OPENGL_ES1, false)
|
||||
AM_CONDITIONAL(HAVE_OPENGL_ES2, false)
|
||||
AM_CONDITIONAL(HAVE_OPENVG, false)
|
||||
|
||||
dnl
|
||||
dnl mapi top-relative paths: defined here so mapi can be used elsewhere
|
||||
dnl
|
||||
|
|
|
@ -45,14 +45,9 @@ class PrintGlTable(gl_XML.gl_print_base):
|
|||
|
||||
def printBody(self, api):
|
||||
for f in api.functionIterateByOffset():
|
||||
if not f.is_abi() and not self.ifdef_emitted:
|
||||
print '#if !defined HAVE_SHARED_GLAPI'
|
||||
self.ifdef_emitted = True
|
||||
arg_string = f.get_parameter_string()
|
||||
print ' %s (GLAPIENTRYP %s)(%s); /* %d */' % (f.return_type, f.name, arg_string, f.offset)
|
||||
|
||||
print '#endif /* !defined HAVE_SHARED_GLAPI */'
|
||||
|
||||
|
||||
def printRealHeader(self):
|
||||
print '#ifndef GLAPIENTRYP'
|
||||
|
|
Loading…
Reference in a new issue