Mercurial > mplayer.hg
comparison libvo/vo_xmga.c @ 13056:1c2f6de431bf
Removed superfluous XFlush calls before XSync.
Original patch by Piotr Neuman <sikkh@wp.pl>
extended by Joey to cover all X11 code
modified by me to only do the above stated change.
author | al |
---|---|
date | Fri, 20 Aug 2004 09:41:13 +0000 |
parents | 3cd9add91f97 |
children | e047e70a9767 |
comparison
equal
deleted
inserted
replaced
13055:73f18d9f0ca9 | 13056:1c2f6de431bf |
---|---|
273 set_window(); // set up mga_vid_config.dest_width etc | 273 set_window(); // set up mga_vid_config.dest_width etc |
274 | 274 |
275 if (vo_ontop) | 275 if (vo_ontop) |
276 vo_x11_setlayer(mDisplay, vo_window, vo_ontop); | 276 vo_x11_setlayer(mDisplay, vo_window, vo_ontop); |
277 | 277 |
278 XFlush(mDisplay); | |
279 XSync(mDisplay, False); | 278 XSync(mDisplay, False); |
280 | 279 |
281 ioctl(f, MGA_VID_ON, 0); | 280 ioctl(f, MGA_VID_ON, 0); |
282 | 281 |
283 return 0; | 282 return 0; |