]> git.cworth.org Git - fips/commit
Allow fips to compile with OpenGL without GLfixed
authorCarl Worth <cworth@cworth.org>
Fri, 8 Nov 2013 19:16:27 +0000 (11:16 -0800)
committerCarl Worth <cworth@cworth.org>
Mon, 11 Nov 2013 18:29:59 +0000 (10:29 -0800)
commitfb88da722af38233cd4f50e62d7dfbb51eadf3c1
treee3f6e848d955da04a4f36e52e9bc7a652100b9a4
parent824789d9fbe591782b55a8d347e588735bab0040
Allow fips to compile with OpenGL without GLfixed

The Mesa 9.1 releases don't include the GLfixed datatype, so fips was
failing to compile aginst those versions of Mesa, (since it was trying
to add wrappers using the GLfixed datatype).

But since the underlying functions don't exist in libGL.so, fips
doesn't need the wrappers anyway.

In this commit, we key off of the GL_GLEXT_VERSION macro from glext.h
to decide whether or not to include these newer wrappers. This fixes
compilation of fips on Mesa 9.1.
glwrap.c