summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 540003b67a..0296206cf4 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -348,7 +348,6 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
if (vo_gc != None)
XFreeGC(mDisplay, vo_gc);
vo_gc = XCreateGC(mDisplay, vo_window, 0L, &xgcv);
- XFlush(mDisplay);
XSync(mDisplay, False);
#ifdef HAVE_XF86VM
if (vm)
@@ -512,7 +511,6 @@ static void deallocate_xvimage(int foo)
}
XFree(xvimage[foo]);
- XFlush(mDisplay);
XSync(mDisplay, False);
return;
}