mesa: Fix glTexCoordPointer with type GL_FIXED.
GL_FIXED is also a legal type for glTexCoordPointer.
This commit is contained in:
parent
2d270ac090
commit
0c0eda393a
|
@ -297,7 +297,8 @@ _mesa_TexCoordPointer(GLint size, GLenum type, GLsizei stride,
|
||||||
const GLvoid *ptr)
|
const GLvoid *ptr)
|
||||||
{
|
{
|
||||||
GLbitfield legalTypes = (SHORT_BIT | INT_BIT |
|
GLbitfield legalTypes = (SHORT_BIT | INT_BIT |
|
||||||
HALF_BIT | FLOAT_BIT | DOUBLE_BIT);
|
HALF_BIT | FLOAT_BIT | DOUBLE_BIT |
|
||||||
|
FIXED_BIT);
|
||||||
GET_CURRENT_CONTEXT(ctx);
|
GET_CURRENT_CONTEXT(ctx);
|
||||||
const GLuint unit = ctx->Array.ActiveTexture;
|
const GLuint unit = ctx->Array.ActiveTexture;
|
||||||
ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
|
ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx);
|
||||||
|
|
Loading…
Reference in New Issue