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

Author: José Fonseca <[email protected]>
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,

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to