summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_flush.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-04-05 03:19:08 +0200
committerMarek Olšák <[email protected]>2010-04-05 07:09:46 +0200
commitb71bfc4400e1d7c15a2bebbbd3b26a8770fbf546 (patch)
tree9988c965cb23b78c5eeeb032b39dccc6da961551 /src/gallium/drivers/r300/r300_flush.c
parent32327196f7f7a97bebc462a1ba94270580ef3fe9 (diff)
r300g: simplify accessing screen from context
Diffstat (limited to 'src/gallium/drivers/r300/r300_flush.c')
-rw-r--r--src/gallium/drivers/r300/r300_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c
index 70de152713d..0aa2e357353 100644
--- a/src/gallium/drivers/r300/r300_flush.c
+++ b/src/gallium/drivers/r300/r300_flush.c
@@ -63,7 +63,7 @@ static void r300_flush(struct pipe_context* pipe,
}
/* Unmark HWTCL state for SWTCL. */
- if (!r300_screen(pipe->screen)->caps->has_tcl) {
+ if (!r300->screen->caps.has_tcl) {
r300->vs_state.dirty = FALSE;
r300->dirty_state &= ~R300_NEW_VERTEX_SHADER_CONSTANTS;
}