Mesa (master): intel: Fix failure to commit -a --amend before last push.

Eric Anholt anholt at kemper.freedesktop.org
Wed Aug 19 16:31:10 UTC 2009


Module: Mesa
Branch: master
Commit: 29e51c3872531366570d032147abad50f8a3c1af
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29e51c3872531366570d032147abad50f8a3c1af

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Aug 19 09:30:47 2009 -0700

intel: Fix failure to commit -a --amend before last push.

---

 src/mesa/drivers/dri/i965/brw_tex_layout.c |    2 +-
 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 5e4f7fd..5986cbf 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;
    }
 




More information about the mesa-commit mailing list