Fixed destination of XCopyArea()

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403530
This commit is contained in:
Sam Lantinga 2009-02-15 06:12:52 +00:00
parent 77c730b744
commit b9924167f7

View file

@ -683,7 +683,7 @@ X11_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture,
} 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) {