mirror of https://github.com/mpv-player/mpv
drawing off-screen failed because we didn't have a valid context. the problem is we force off-screen drawing because the CAOpenGLLayer refuses to draw anything while being off-screen. set the current context before starting to draw anything off-screen. Fixes #5530 |
||
---|---|---|
.. | ||
events_view.swift | ||
video_layer.swift | ||
window.swift |