Mesa (master): svga: another tweak to adjust_x term (use -0.5)

Brian Paul brianp at kemper.freedesktop.org
Thu Apr 7 10:27:18 PDT 2011


Module: Mesa
Branch: master
Commit: 6638b4a590aa07dbe05f6647da90a00a4c0d57a8
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6638b4a590aa07dbe05f6647da90a00a4c0d57a8

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Apr  7 11:25:46 2011 -0600

svga: another tweak to adjust_x term (use -0.5)

---

 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 8ad6ab4..47bdc25 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.25;
+         adjust_x = -0.5;
          adjust_y = -0.5;
          break;
       }



More information about the mesa-commit mailing list