summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-04-05 16:54:08 +1000
committerDave Airlie <[email protected]>2011-04-05 16:54:08 +1000
commit9ac64f73019ff72e106ed60c7a30ff7a24e12b43 (patch)
tree33cabb7c544078145c0acc5a6eda8b18bbf5e196 /src/mesa/drivers/dri
parentb3011ea60cc36a888da031ebac932d67473f4521 (diff)
r300c: fix build since last r300g commit
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r300/r300_fragprog_common.c2
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 a0a26f1b38d..50cf8d6f9db 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);
}
}