summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r300/r300_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c
index cfcc19d1c68..6ce03293e94 100644
--- a/src/gallium/drivers/r300/r300_state.c
+++ b/src/gallium/drivers/r300/r300_state.c
@@ -1432,7 +1432,7 @@ static void r300_bind_rs_state(struct pipe_context* pipe, void* state)
}
}
- if (last_clip_halfz != r300->clip_halfz) {
+ if (r300->screen->caps.has_tcl && last_clip_halfz != r300->clip_halfz) {
r300_mark_atom_dirty(r300, &r300->vs_state);
}
}