summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_atom_texture.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom_texture.c b/src/mesa/state_tracker/st_atom_texture.c
index f82c33e572..eeaf68b001 100644
--- a/src/mesa/state_tracker/st_atom_texture.c
+++ b/src/mesa/state_tracker/st_atom_texture.c
@@ -53,6 +53,11 @@ update_textures(struct st_context *st)
= st->ctx->Texture.Unit[u]._Current;
if (texObj) {
struct pipe_mipmap_tree *mt;
+ GLboolean flush, retval;
+
+ retval = st_finalize_mipmap_tree(st->ctx, st->pipe, u, &flush);
+ printf("finalize_mipmap_tree returned %d, flush = %d\n",
+ retval, flush);
mt = st_get_texobj_mipmap_tree(texObj);