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