mesa: Fix glTexCoordPointer with type GL_FIXED.

GL_FIXED is also a legal type for glTexCoordPointer.
This commit is contained in:
Chia-I Wu 2010-12-09 19:37:15 +08:00
parent 2d270ac090
commit 0c0eda393a
1 changed files with 2 additions and 1 deletions

View File

@ -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);