summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-07-23 10:32:25 -0600
committerBrian Paul <[email protected]>2010-07-23 10:32:58 -0600
commit41e7347a173693e9cf9ec41151a38e89627ed54f (patch)
tree4581f15d160c74a70e1f664239400bcfb048c557 /src/gallium/auxiliary
parent6c3b9fa5fdafa86e15bbd5c61fe23d9f56d171a6 (diff)
draw: add small ybias factor for drawing wide points
Fixes minor rasterization error detected by some tests.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/draw/draw_pipe_wide_point.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_wide_point.c b/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
index 3e6e5389950..ee2945c7c97 100644
--- a/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
+++ b/src/gallium/auxiliary/draw/draw_pipe_wide_point.c
@@ -226,6 +226,7 @@ static void widepoint_first_point( struct draw_stage *stage,
if (rast->gl_rasterization_rules) {
wide->xbias = 0.125;
+ wide->ybias = -0.125;
}
/* Disable triangle culling, stippling, unfilled mode etc. */