mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
cocoa: add glFlush() to cocoa backend
The glFlush() call was made optional recently since it's not needed in most cases. On OSX though this is needed since we removed kCGLPFADoubleBuffer from the context creation, so the glFlush() call was added to the cocoa backend only. The CGLFlushDrawable() call can be safely removed since it only does something when a double buffered context is used. Also fixes a small typo. Fixes #3627.
This commit is contained in:
@@ -4593,7 +4593,7 @@ The following video options are currently all specific to ``--vo=opengl`` and
|
||||
|
||||
``--opengl-early-flush=<yes|no>``
|
||||
Call ``glFlush()`` after rendering a frame and before attempting to display
|
||||
it (default: no). Can fix stuttering in some causes, in other cases probably
|
||||
it (default: no). Can fix stuttering in some cases, in other cases probably
|
||||
causes it. For testing - could be removed any time.
|
||||
|
||||
Miscellaneous
|
||||
|
||||
Reference in New Issue
Block a user