diff options
author | Shuang He <[email protected]> | 2010-12-09 08:49:51 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-12-09 08:23:54 -0700 |
commit | 9946f15d302d48a0bc0ab0b8a3556c184e88c7d0 (patch) | |
tree | 4c9b84761e2bd792ac37482bc597f07af8e53b5f /src/mesa/main/varray.c | |
parent | 0c0eda393ad5048528f2664d03046ff7f7d3a64c (diff) |
mesa: allow GLfixed arrays for OpenGL ES 2.0
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r-- | src/mesa/main/varray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 2728b382262..32bf95e3ed1 100644 --- 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; } |