glapi: define GLfixed, GLclampx types for ES 1
authorBrian Paul <brianp@vmware.com>
Sat, 23 Jan 2010 01:47:23 +0000 (18:47 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 23 Jan 2010 01:47:25 +0000 (18:47 -0700)
I'm not 100% sure this is the best fix, but it seems OK.

src/mesa/glapi/glapi_nop.c

index e45faef72d4d94d8c30c2d7c4a3ffa5f2ccb5e6c..0c53bd8a3f606e5c317fbaf8abf24d16707c90ad 100644 (file)
@@ -87,4 +87,11 @@ NoOpUnused(void)
 #define UNUSED_TABLE_NAME __unused_noop_functions
 
 
+/*
+ * Types needed when generating ES 1 functions.
+ */
+typedef int GLfixed;
+typedef int GLclampx;
+
+
 #include "glapi/glapitemp.h"