summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authornobled <[email protected]>2010-12-02 21:48:40 +0000
committerMarek Olšák <[email protected]>2010-12-03 00:50:58 +0100
commit39c436a1a25b1863f682214ae5d80e58a2014072 (patch)
treeefa41fe8932d2cc05cc63a1c0c55c4cb043a85ec /src/gallium/drivers
parent7ed65f462aeebbdb7e48da365c947cd8a6ed9e5c (diff)
r300g: Drop unnecessary cast
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r300/r300_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index 9589a491b81..3b46f9934f2 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -328,7 +328,7 @@ static void r300_init_states(struct pipe_context *pipe)
pipe->set_scissor_state(pipe, &ss);
/* Initialize the clip state. */
- if (r300_context(pipe)->screen->caps.has_tcl) {
+ if (r300->screen->caps.has_tcl) {
pipe->set_clip_state(pipe, &cs);
} else {
BEGIN_CB(clip->cb, 2);