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.
+/* The first appearance of the GLfixed datatype in Mesa was with
+ * glext.h of version 20130624. So we'll assume that any older glext.h
+ * cannot have any function accepting a GLfixed parameter. */
+#if GL_GLEXT_VERSION >= 20130624
+#define HAVE_GLFIXED 1
+#endif
+
/* As of glext.h version 20131008 some types changed.
*
* I have no idea why some internalFormats changed from GLenum to
/* As of glext.h version 20131008 some types changed.
*
* I have no idea why some internalFormats changed from GLenum to
void
glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
{
void
glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
{
/* METRICS_OP_BUFFER_DATA */
void
/* METRICS_OP_BUFFER_DATA */
void
void
glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig,
GLfixed xmove, GLfixed ymove, const GLubyte *bitmap)
void
glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig,
GLfixed xmove, GLfixed ymove, const GLubyte *bitmap)
/* METRICS_OP_BLIT_FRAMEBUFFER */
void
/* METRICS_OP_BLIT_FRAMEBUFFER */
void