summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_cc.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-11-05 19:58:02 +0000
committerKeith Whitwell <[email protected]>2009-11-05 19:58:02 +0000
commit658da189b62c4086c08950f3da5767e628235b55 (patch)
treefe44bad7b13c90d30c6de1598dd2c96dbed4174b /src/gallium/drivers/i965/brw_cc.c
parent8f0e51be4784273baef692583940964bc04b78ef (diff)
i965g: remove duplicate viewport state in brw_context
Diffstat (limited to 'src/gallium/drivers/i965/brw_cc.c')
-rw-r--r--src/gallium/drivers/i965/brw_cc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_cc.c b/src/gallium/drivers/i965/brw_cc.c
index 8e25fe85854..ba16fc4f6bd 100644
--- a/src/gallium/drivers/i965/brw_cc.c
+++ b/src/gallium/drivers/i965/brw_cc.c
@@ -66,7 +66,7 @@ static enum pipe_error prepare_cc_vp( struct brw_context *brw )
memset(&ccv, 0, sizeof(ccv));
/* PIPE_NEW_VIEWPORT */
- calc_sane_viewport( &brw->curr.vp, &svp );
+ calc_sane_viewport( &brw->curr.viewport, &svp );
ccv.min_depth = svp.near;
ccv.max_depth = svp.far;