Mesa (lp-binning): llvmpipe: Fix typo.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Oct 8 18:18:48 UTC 2009


Module: Mesa
Branch: lp-binning
Commit: 07ee87e6645318a34a395a50f4e8d554d118d24f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07ee87e6645318a34a395a50f4e8d554d118d24f

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu Oct  8 19:18:35 2009 +0100

llvmpipe: Fix typo.

---

 src/gallium/drivers/llvmpipe/lp_rast.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index 9d1861d..170684c 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -214,7 +214,7 @@ void lp_rast_end_tile( struct lp_rasterizer *rast,
    if(x + w > surface->width)
       w = surface->width - x;
    if(y + h > surface->height)
-      h = surface->height - x;
+      h = surface->height - y;
 
    transfer = screen->get_tex_transfer(screen,
                                        surface->texture,




More information about the mesa-commit mailing list