summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-12-09 19:37:15 +0800
committerChia-I Wu <[email protected]>2010-12-09 19:37:56 +0800
commit0c0eda393ad5048528f2664d03046ff7f7d3a64c (patch)
treec53b994a21f7e18db9a4effc44ff3ca34ae6caaf /src/mesa
parent2d270ac0904a1e3779906f7dbf493f31e5b3823b (diff)
mesa: Fix glTexCoordPointer with type GL_FIXED.
GL_FIXED is also a legal type for glTexCoordPointer.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/varray.c3
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);