Commit b9924167 authored by Sam Lantinga's avatar Sam Lantinga

Fixed destination of XCopyArea()

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403530
parent 77c730b7
...@@ -683,7 +683,7 @@ X11_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture, ...@@ -683,7 +683,7 @@ X11_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture,
} else { } else {
XCopyArea(data->display, texturedata->pixmap, data->drawable, XCopyArea(data->display, texturedata->pixmap, data->drawable,
data->gc, srcrect->x, srcrect->y, dstrect->w, data->gc, srcrect->x, srcrect->y, dstrect->w,
dstrect->h, srcrect->x, srcrect->y); dstrect->h, dstrect->x, dstrect->y);
} }
} else if (texturedata->yuv } else if (texturedata->yuv
|| texture->access == SDL_TEXTUREACCESS_STREAMING) { || texture->access == SDL_TEXTUREACCESS_STREAMING) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment