r300c: fix build since last r300g commit
authorDave Airlie <airlied@redhat.com>
Tue, 5 Apr 2011 06:54:08 +0000 (16:54 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 5 Apr 2011 06:54:08 +0000 (16:54 +1000)
src/mesa/drivers/dri/r300/r300_fragprog_common.c

index a0a26f1b38d732b2d3207a9c8361ee2a606d274a..50cf8d6f9db72847d6e6a3714163c88655d9caab 100644 (file)
@@ -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);
                }
        }