Mesa (master): glapi: define GLfixed, GLclampx types for ES 1

Brian Paul brianp at kemper.freedesktop.org
Sat Jan 23 01:48:05 UTC 2010


Module: Mesa
Branch: master
Commit: 2292c93bc0f703d1ebdc2b79b5f525efebe21f1c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2292c93bc0f703d1ebdc2b79b5f525efebe21f1c

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Jan 22 18:47:23 2010 -0700

glapi: define GLfixed, GLclampx types for ES 1

I'm not 100% sure this is the best fix, but it seems OK.

---

 src/mesa/glapi/glapi_nop.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/mesa/glapi/glapi_nop.c b/src/mesa/glapi/glapi_nop.c
index e45faef..0c53bd8 100644
--- a/src/mesa/glapi/glapi_nop.c
+++ b/src/mesa/glapi/glapi_nop.c
@@ -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"




More information about the mesa-commit mailing list