]> 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>
Fri, 8 Nov 2013 19:16:27 +0000 (11:16 -0800)
commit79edc7574c353a7ae8d2455ecc3a94aa956b3c8e
tree857784c5c1407af1531251684a9dfbb4a09490a1
parentba91fa6199a75aea42e40221489d259f1f723e4e
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