intel: Fix failure to commit -a --amend before last push.
authorEric Anholt <eric@anholt.net>
Wed, 19 Aug 2009 16:30:47 +0000 (09:30 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 19 Aug 2009 16:30:47 +0000 (09:30 -0700)
src/mesa/drivers/dri/i965/brw_tex_layout.c

index 5e4f7fd27bf0177c2e8662103117ba5fccbf56f3..5986cbffade3ee81180863ec6388dd7d95228dc1 100644 (file)
@@ -203,7 +203,7 @@ GLboolean brw_miptree_layout(struct intel_context *intel,
        * it safe.
        */
       if (mt->target == GL_TEXTURE_CUBE_MAP)
-        total_height += 2;
+        mt->total_height += 2;
       break;
    }