projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c0eda3
)
mesa: allow GLfixed arrays for OpenGL ES 2.0
author
Shuang He
<shuang.he@intel.com>
Thu, 9 Dec 2010 00:49:51 +0000
(08:49 +0800)
committer
Brian Paul
<brianp@vmware.com>
Thu, 9 Dec 2010 15:23:54 +0000
(08:23 -0700)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/main/varray.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/varray.c
b/src/mesa/main/varray.c
index 2728b382262b94d134852ce1b79968072c54c8cc..32bf95e3ed1009a4b4779ea4f980492b3b88a801 100644
(file)
--- a/
src/mesa/main/varray.c
+++ b/
src/mesa/main/varray.c
@@
-127,8
+127,8
@@
update_array(struct gl_context *ctx,
GLsizei elementSize;
GLenum format = GL_RGBA;
- if (ctx->API != API_OPENGLES) {
- /* fixed point arrays / data is only allowed with OpenGL ES 1.x */
+ if (ctx->API != API_OPENGLES
&& ctx->API != API_OPENGLES2
) {
+ /* fixed point arrays / data is only allowed with OpenGL ES 1.x
/2.0
*/
legalTypesMask &= ~FIXED_BIT;
}