summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-10-08 19:18:35 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-10-08 19:18:52 +0100
commit07ee87e6645318a34a395a50f4e8d554d118d24f (patch)
tree0ad858bee31324b18ec4f57e4c607ff782eecff2 /src/gallium
parentc7227f4b8d76d70b4f7ab8d384befd823c2be03e (diff)
llvmpipe: Fix typo.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.c2
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 9d1861d246..170684c1b2 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,