debug info
authorBrian <brian@i915.localnet.net>
Wed, 8 Aug 2007 00:19:06 +0000 (18:19 -0600)
committerBrian <brian@i915.localnet.net>
Wed, 8 Aug 2007 00:24:29 +0000 (18:24 -0600)
src/mesa/state_tracker/st_atom_texture.c

index f82c33e572f12ee65aecdbf26be3fd7cc664fab0..eeaf68b001251d6ccdf0e2efb3e38691667a1130 100644 (file)
@@ -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);