Browse Source

draw: add small ybias factor for drawing wide points

Fixes minor rasterization error detected by some tests.
tags/mesa-7.9-rc1
Brian Paul 15 years ago
parent
commit
41e7347a17
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/gallium/auxiliary/draw/draw_pipe_wide_point.c

+ 1
- 0
src/gallium/auxiliary/draw/draw_pipe_wide_point.c View File

@@ -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. */

Loading…
Cancel
Save