diff options
author | Eric Anholt <[email protected]> | 2008-08-21 11:20:20 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-08-21 11:21:22 -0700 |
commit | 021ce883e6146206306ebf48ccd2cd4214619ecb (patch) | |
tree | 2bc9d9177e2bdd309aa817134e9c74b92ee565b6 /src | |
parent | 3a94b25538c647df965a93cd7734b841257ef203 (diff) |
Flush vertices when updating texObj->GenerateMipmap state.
Caught by texturing/gen-teximage test in piglit.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/texstate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index a6c92cb1af4..dbaeaa201ad 100644 --- a/src/mesa/main/texstate.c +++ b/src/mesa/main/texstate.c @@ -1406,6 +1406,7 @@ _mesa_TexParameterfv( GLenum target, GLenum pname, const GLfloat *params ) break; case GL_GENERATE_MIPMAP_SGIS: if (ctx->Extensions.SGIS_generate_mipmap) { + FLUSH_VERTICES(ctx, _NEW_TEXTURE); texObj->GenerateMipmap = params[0] ? GL_TRUE : GL_FALSE; } else { |