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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41e7347a173693e9cf9ec41151a38e89627ed54f;p=mesa.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 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. */