svga: adjust triangle rasterization offset
Fixes minor sub-pixel positioning error in some apps.
This commit is contained in:
@@ -296,7 +296,7 @@ static int emit_viewport( struct svga_context *svga,
|
||||
break;
|
||||
case PIPE_PRIM_POINTS:
|
||||
case PIPE_PRIM_TRIANGLES:
|
||||
adjust_x = -0.375;
|
||||
adjust_x = -0.25;
|
||||
adjust_y = -0.5;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user