mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 03:48:06 +02:00
draw: add small ybias factor for drawing wide points
Fixes minor rasterization error detected by some tests.
This commit is contained in:
parent
6c3b9fa5fd
commit
41e7347a17
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue