Mesa (master): r300c: fix build since last r300g commit

Dave Airlie airlied at kemper.freedesktop.org
Tue Apr 5 00:01:27 PDT 2011


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Apr  5 16:54:08 2011 +1000

r300c: fix build since last r300g commit

---

 src/mesa/drivers/dri/r300/r300_fragprog_common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/r300/r300_fragprog_common.c b/src/mesa/drivers/dri/r300/r300_fragprog_common.c
index a0a26f1..50cf8d6 100644
--- a/src/mesa/drivers/dri/r300/r300_fragprog_common.c
+++ b/src/mesa/drivers/dri/r300/r300_fragprog_common.c
@@ -77,7 +77,7 @@ static void build_state(
 		if (fp->Base.ShadowSamplers & (1 << unit)) {
 			struct gl_texture_object* tex = r300->radeon.glCtx->Texture.Unit[unit]._Current;
 
-			state->unit[unit].depth_texture_swizzle = build_dts(tex->DepthMode);
+			state->unit[unit].texture_swizzle = build_dts(tex->DepthMode);
 			state->unit[unit].texture_compare_func = build_func(tex->CompareFunc);
 		}
 	}



More information about the mesa-commit mailing list