From 0c0eda393ad5048528f2664d03046ff7f7d3a64c Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Thu, 9 Dec 2010 19:37:15 +0800 Subject: [PATCH] mesa: Fix glTexCoordPointer with type GL_FIXED. GL_FIXED is also a legal type for glTexCoordPointer. --- src/mesa/main/varray.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 340c3fe1d39..2728b382262 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -297,7 +297,8 @@ _mesa_TexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) { GLbitfield legalTypes = (SHORT_BIT | INT_BIT | - HALF_BIT | FLOAT_BIT | DOUBLE_BIT); + HALF_BIT | FLOAT_BIT | DOUBLE_BIT | + FIXED_BIT); GET_CURRENT_CONTEXT(ctx); const GLuint unit = ctx->Array.ActiveTexture; ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx); -- 2.30.2