From 41e7347a173693e9cf9ec41151a38e89627ed54f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 23 Jul 2010 10:32:25 -0600 Subject: [PATCH] draw: add small ybias factor for drawing wide points Fixes minor rasterization error detected by some tests. --- src/gallium/auxiliary/draw/draw_pipe_wide_point.c | 1 + 1 file changed, 1 insertion(+) 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. */ -- 2.7.4