From 9946f15d302d48a0bc0ab0b8a3556c184e88c7d0 Mon Sep 17 00:00:00 2001 From: Shuang He Date: Thu, 9 Dec 2010 08:49:51 +0800 Subject: [PATCH] mesa: allow GLfixed arrays for OpenGL ES 2.0 Signed-off-by: Brian Paul --- src/mesa/main/varray.c | 4 ++-- 1 file 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; } -- 2.30.2