From: Chia-I Wu Date: Thu, 9 Dec 2010 11:37:15 +0000 (+0800) Subject: mesa: Fix glTexCoordPointer with type GL_FIXED. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c0eda393ad5048528f2664d03046ff7f7d3a64c;p=mesa.git mesa: Fix glTexCoordPointer with type GL_FIXED. GL_FIXED is also a legal type for glTexCoordPointer. --- 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);