From: Brian Paul Date: Fri, 23 Jul 2010 16:32:25 +0000 (-0600) Subject: draw: add small ybias factor for drawing wide points X-Git-Tag: mesa-7.9-rc1~1744 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41e7347a173693e9cf9ec41151a38e89627ed54f;p=platform%2Fupstream%2Fmesa.git draw: add small ybias factor for drawing wide points Fixes minor rasterization error detected by some tests. --- diff --git a/src/gallium/auxiliary/draw/draw_pipe_wide_point.c b/src/gallium/auxiliary/draw/draw_pipe_wide_point.c index 3e6e538..ee2945c 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. */