From: nobled Date: Thu, 2 Dec 2010 21:48:40 +0000 (+0000) Subject: r300g: Drop unnecessary cast X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=39c436a1a25b1863f682214ae5d80e58a2014072;p=mesa.git r300g: Drop unnecessary cast --- 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);