Przeglądaj źródła

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 lat temu
rodzic
commit
41e7347a17

+ 1
- 0
src/gallium/auxiliary/draw/draw_pipe_wide_point.c Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz