r300-gallium: unbreak build
authorJoakim Sindholt <opensource@zhasha.com>
Mon, 11 May 2009 19:44:49 +0000 (21:44 +0200)
committerJoakim Sindholt <opensource@zhasha.com>
Mon, 11 May 2009 19:44:49 +0000 (21:44 +0200)
src/gallium/drivers/r300/r300_surface.c

index d6f3fe1466d7e7277367550de0ae352c3664eed9..3198c9737863baefbb2a7e1fa1e83ccf78682c3d 100644 (file)
@@ -225,7 +225,7 @@ static void r300_surface_copy(struct pipe_context* pipe,
                 srcx, srcy, w, h);
     }
 
-    r300_surface_setup(r300, desttex, x, y, w, h);
+    r300_surface_setup(r300, desttex, destx, desty, w, h);
 
     r300_emit_sampler(r300, &r300_sampler_copy_state, 0);
     r300_emit_texture(r300, srctex, 0);