Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed destination of XCopyArea()
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 15, 2009
1 parent 647c178 commit e76ae87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11render.c
Expand Up @@ -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) {
Expand Down

0 comments on commit e76ae87

Please sign in to comment.