summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_quad_stipple.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-20 15:03:43 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-20 15:04:08 -0600
commit09f67990abd4bb9b79349be2fca9a6ae850b6f5f (patch)
treea2dbeb3e144b52f4046a0b8aea528105a3e177e2 /src/gallium/drivers/softpipe/sp_quad_stipple.c
parent2fb30b77ad09016efcf969456de9b0341bc53bac (diff)
gallium: use new framebuffer width, height fields
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_quad_stipple.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_quad_stipple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_stipple.c b/src/gallium/drivers/softpipe/sp_quad_stipple.c
index 9a39249576..f1e9b80e09 100644
--- a/src/gallium/drivers/softpipe/sp_quad_stipple.c
+++ b/src/gallium/drivers/softpipe/sp_quad_stipple.c
@@ -25,7 +25,7 @@ stipple_quad(struct quad_stage *qs, struct quad_header *quad)
int y0, y1;
uint stipple0, stipple1;
if (softpipe->rasterizer->origin_lower_left) {
- y0 = softpipe->fb_height - 1 - quad->y0;
+ y0 = softpipe->framebuffer.height - 1 - quad->y0;
y1 = y0 - 1;
}
else {