aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_prim_setup.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-20 15:03:43 -0600
committerBrian <[email protected]>2008-03-20 15:04:08 -0600
commit09f67990abd4bb9b79349be2fca9a6ae850b6f5f (patch)
treea2dbeb3e144b52f4046a0b8aea528105a3e177e2 /src/gallium/drivers/softpipe/sp_prim_setup.c
parent2fb30b77ad09016efcf969456de9b0341bc53bac (diff)
gallium: use new framebuffer width, height fields
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_prim_setup.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_prim_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_prim_setup.c b/src/gallium/drivers/softpipe/sp_prim_setup.c
index f2d6043e2ed..6a81e4d8cc2 100644
--- a/src/gallium/drivers/softpipe/sp_prim_setup.c
+++ b/src/gallium/drivers/softpipe/sp_prim_setup.c
@@ -485,7 +485,7 @@ setup_fragcoord_coeff(struct setup_stage *setup, uint slot)
/*Y*/
if (setup->softpipe->rasterizer->origin_lower_left) {
/* y=0=bottom */
- const int winHeight = setup->softpipe->fb_height;
+ const int winHeight = setup->softpipe->framebuffer.height;
setup->coef[slot].a0[1] = (float) (winHeight - 1);
setup->coef[slot].dady[1] = -1.0;
}