OSDN Git Service

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 d6f3fe1..3198c97 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);