summaryrefslogtreecommitdiff
path: root/src/mapi/glapi
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-09-15 17:43:21 +0800
committerChia-I Wu <olv@lunarg.com>2010-09-15 17:45:26 +0800
commitcad87ebc3a9c176a44f5193af7e16d6ecad4e03f (patch)
tree95b4752f0b40171832c136c757c984f7f014e8ad /src/mapi/glapi
parent84f7b5d974ba7601a7a43bbe307cc3dc95f221fa (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.
Diffstat (limited to 'src/mapi/glapi')
-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 89f81c723e..3ab553a2b8 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