Sfoglia il codice sorgente

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 anni fa
parent
commit
41e7347a17
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      src/gallium/auxiliary/draw/draw_pipe_wide_point.c

+ 1
- 0
src/gallium/auxiliary/draw/draw_pipe_wide_point.c Vedi 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…
Annulla
Salva