projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d270ac
)
mesa: Fix glTexCoordPointer with type GL_FIXED.
author
Chia-I Wu
<olv@lunarg.com>
Thu, 9 Dec 2010 11:37:15 +0000
(19:37 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Thu, 9 Dec 2010 11:37:56 +0000
(19:37 +0800)
GL_FIXED is also a legal type for glTexCoordPointer.
src/mesa/main/varray.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/varray.c
b/src/mesa/main/varray.c
index 340c3fe1d39bfe9bd33f57dc51ab264b2cabcede..2728b382262b94d134852ce1b79968072c54c8cc 100644
(file)
--- 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);