mirror of https://github.com/mpv-player/mpv
disable double buffer in vo_sdl on macosx. fix flicker issue.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19434 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
be5863dca4
commit
6b0da6eb35
|
@ -446,7 +446,7 @@ static int sdl_open (void *plugin, void *name)
|
||||||
//}
|
//}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AMIGA
|
#if !defined( AMIGA ) && !defined( MACOSX )
|
||||||
priv->sdlfullflags |= SDL_DOUBLEBUF;
|
priv->sdlfullflags |= SDL_DOUBLEBUF;
|
||||||
if (vo_doublebuffering)
|
if (vo_doublebuffering)
|
||||||
priv->sdlflags |= SDL_DOUBLEBUF;
|
priv->sdlflags |= SDL_DOUBLEBUF;
|
||||||
|
|
Loading…
Reference in New Issue