changeset 3066:8cbf68bdf81b

Fixed destination of XCopyArea()
author Sam Lantinga <slouken@libsdl.org>
date Sun, 15 Feb 2009 06:12:52 +0000
parents a728b8b779d1
children bcd41b269091
files src/video/x11/SDL_x11render.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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) {