summaryrefslogtreecommitdiff
path: root/src/mesa/main/mipmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/mipmap.c')
-rw-r--r--src/mesa/main/mipmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c
index 3836f8b4c65..8f08396fe15 100644
--- a/src/mesa/main/mipmap.c
+++ b/src/mesa/main/mipmap.c
@@ -1892,6 +1892,7 @@ prepare_mipmap_level(struct gl_context *ctx,
_mesa_update_fbo_texture(ctx, texObj, face, level);
ctx->NewState |= _NEW_TEXTURE_OBJECT;
+ ctx->PopAttribState |= GL_TEXTURE_BIT;
}
}