mirror of
https://github.com/yawut/SDL.git
synced 2026-09-14 12:06:26 -05:00
Fixed destination of XCopyArea()
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user