mirror of https://github.com/mpv-player/mpv
clear buffer after (glX)SwapBuffers in fullscreen to avoid flickering borders
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12395 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f7e6d7f037
commit
bb4e355258
|
@ -1115,6 +1115,9 @@ flip_page(void)
|
|||
#else
|
||||
glXSwapBuffers( mDisplay,vo_window );
|
||||
#endif
|
||||
|
||||
if (vo_fs) // Avoid flickering borders in fullscreen mode
|
||||
glClear (GL_COLOR_BUFFER_BIT);
|
||||
}
|
||||
|
||||
//static inline uint32_t draw_slice_x11(uint8_t *src[], uint32_t slice_num)
|
||||
|
|
Loading…
Reference in New Issue