summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-09-15 17:43:21 +0800
committerChia-I Wu <[email protected]>2010-09-16 14:24:45 +0800
commit16a023ad7d5517439732e8186eb2f7f8a78d7a45 (patch)
tree94e2bea3438168e631822506323d29e92519ca10
parent029eb8e764d101ff71b4669f94f8aaa7ae7ae04d (diff)
glapi: Fix build errors for ES.
The latest glext.h defines GL_FIXED. Test GL_OES_fixed_point instead to decide whether to define GLfixed and GLclampx. This fixes fdo bug #30205. (cherry picked from commit cad87ebc3a9c176a44f5193af7e16d6ecad4e03f)
-rw-r--r--src/mapi/glapi/glapi_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/glapi_priv.h b/src/mapi/glapi/glapi_priv.h
index 89f81c723e9..3ab553a2b8d 100644
--- a/src/mapi/glapi/glapi_priv.h
+++ b/src/mapi/glapi/glapi_priv.h
@@ -38,7 +38,7 @@
#include "GL/gl.h"
#include "GL/glext.h"
-#ifndef GL_FIXED
+#ifndef GL_OES_fixed_point
typedef int GLfixed;
typedef int GLclampx;
#endif