Fixed destination of XCopyArea()
authorSam Lantinga <slouken@libsdl.org>
Sun, 15 Feb 2009 06:12:52 +0000
changeset 3066 8cbf68bdf81b
parent 3065 a728b8b779d1
child 3067 bcd41b269091
Fixed destination of XCopyArea()
src/video/x11/SDL_x11render.c
--- a/src/video/x11/SDL_x11render.c	Sat Feb 14 15:56:26 2009 +0000
+++ b/src/video/x11/SDL_x11render.c	Sun Feb 15 06:12:52 2009 +0000
@@ -683,7 +683,7 @@
         } else {
             XCopyArea(data->display, texturedata->pixmap, data->drawable,
                       data->gc, srcrect->x, srcrect->y, dstrect->w,
-                      dstrect->h, srcrect->x, srcrect->y);
+                      dstrect->h, dstrect->x, dstrect->y);
         }
     } else if (texturedata->yuv
                || texture->access == SDL_TEXTUREACCESS_STREAMING) {