[vlc-commits] xcb/render: remove stray request check
Rémi Denis-Courmont
git at videolan.org
Thu Dec 20 19:43:09 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 19 23:20:10 2018 +0200| [507ed3150d906330464091a96a5cdb8ee3999886] | committer: Rémi Denis-Courmont
xcb/render: remove stray request check
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=507ed3150d906330464091a96a5cdb8ee3999886
---
modules/video_output/xcb/render.c | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/modules/video_output/xcb/render.c b/modules/video_output/xcb/render.c
index 07eb329abd..37d0651465 100644
--- a/modules/video_output/xcb/render.c
+++ b/modules/video_output/xcb/render.c
@@ -110,15 +110,12 @@ static void Prepare(vout_display_t *vd, picture_t *pic, subpicture_t *subpic,
size_t offset = PictureAttach(vd, pic);
if (offset != (size_t)-1) {
- xcb_shm_put_image_checked(conn, sys->drawable.source, sys->gc,
- pic->p->i_pitch / pic->p->i_pixel_pitch,
- pic->p->i_lines,
- 0,
- 0,
- /* width */ pic->p->i_pitch / pic->p->i_pixel_pitch,
- /* height */ pic->p->i_lines,
- 0, 0, 32, XCB_IMAGE_FORMAT_Z_PIXMAP,
- 0, sys->segment, offset);
+ xcb_shm_put_image(conn, sys->drawable.source, sys->gc,
+ pic->p->i_pitch / pic->p->i_pixel_pitch,
+ pic->p->i_lines, 0, 0,
+ pic->p->i_pitch / pic->p->i_pixel_pitch,
+ pic->p->i_lines, 0, 0, 32, XCB_IMAGE_FORMAT_Z_PIXMAP,
+ 0, sys->segment, offset);
} else {
xcb_put_image(conn, XCB_IMAGE_FORMAT_Z_PIXMAP, sys->drawable.source,
sys->gc, pic->p->i_pitch / pic->p->i_pixel_pitch,
More information about the vlc-commits
mailing list