diff options
author | Chia-I Wu <[email protected]> | 2010-12-09 19:37:15 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-12-09 19:37:56 +0800 |
commit | 0c0eda393ad5048528f2664d03046ff7f7d3a64c (patch) | |
tree | c53b994a21f7e18db9a4effc44ff3ca34ae6caaf /src/mesa/main/varray.c | |
parent | 2d270ac0904a1e3779906f7dbf493f31e5b3823b (diff) |
mesa: Fix glTexCoordPointer with type GL_FIXED.
GL_FIXED is also a legal type for glTexCoordPointer.
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r-- | src/mesa/main/varray.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |