diff src/video/x11/SDL_x11render.c @ 3066:8cbf68bdf81b

Fixed destination of XCopyArea()
author Sam Lantinga <slouken@libsdl.org>
date Sun, 15 Feb 2009 06:12:52 +0000
parents b36579172f27
children ab5aebd50add
line wrap: on
line diff
--- 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) {