summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-08-19 09:30:47 -0700
committerEric Anholt <eric@anholt.net>2009-08-19 09:30:47 -0700
commit29e51c3872531366570d032147abad50f8a3c1af (patch)
tree3371fd41dace7a90fdf1d96b6c62e94a10f79fe9
parenta70e1315846cd5e8d6f2b622821ff8262fe7179d (diff)
intel: Fix failure to commit -a --amend before last push.
-rw-r--r--src/mesa/drivers/dri/i965/brw_tex_layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_tex_layout.c b/src/mesa/drivers/dri/i965/brw_tex_layout.c
index 5e4f7fd27b..5986cbffad 100644
--- a/src/mesa/drivers/dri/i965/brw_tex_layout.c
+++ b/src/mesa/drivers/dri/i965/brw_tex_layout.c
@@ -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;
}