diff options
author | Brian Paul <[email protected]> | 2011-03-24 11:32:33 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-03-24 11:32:38 -0600 |
commit | 4c75d5ae63c356ac9b6d23009ccc9af6205dbb4a (patch) | |
tree | 00fd5a390835cc2e573f2972ddfb186b5760c1f5 /src/gallium/drivers | |
parent | c22a7f9045ff7a4a9505225a133b25e262958e1c (diff) |
svga: adjust triangle rasterization offset
Fixes minor sub-pixel positioning error in some apps.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/svga/svga_state_framebuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_state_framebuffer.c b/src/gallium/drivers/svga/svga_state_framebuffer.c index cdadb20c178..8ad6ab4c29c 100644 --- a/src/gallium/drivers/svga/svga_state_framebuffer.c +++ b/src/gallium/drivers/svga/svga_state_framebuffer.c @@ -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; } |