projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84f7b5d
)
glapi: Fix build errors for ES.
author
Chia-I Wu
<olv@lunarg.com>
Wed, 15 Sep 2010 09:43:21 +0000
(17:43 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Wed, 15 Sep 2010 09:45:26 +0000
(17:45 +0800)
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.
src/mapi/glapi/glapi_priv.h
patch
|
blob
|
history
diff --git
a/src/mapi/glapi/glapi_priv.h
b/src/mapi/glapi/glapi_priv.h
index 89f81c723e91cdba703c792503790eca8bfb4d97..3ab553a2b8da674d13638920650e6af1e090a8c3 100644
(file)
--- 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