diff options
author | Akemi <der.richter@gmx.de> | 2018-02-17 01:12:05 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-02-17 23:03:45 -0800 |
commit | 4a579ad16694da158c641514b39a1547fe6c7449 (patch) | |
tree | e4eb99f5521fe39c55cf9fb8b3f93ebdb514f331 /osdep/macosx_touchbar.h | |
parent | b67d2ede67a72d999d5afe4e4def802cf047fc4d (diff) | |
download | mpv-4a579ad16694da158c641514b39a1547fe6c7449.tar.bz2 mpv-4a579ad16694da158c641514b39a1547fe6c7449.tar.xz |
cocoa-cb: fix hwdec when drawing off-screen
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
Diffstat (limited to 'osdep/macosx_touchbar.h')
0 files changed, 0 insertions, 0 deletions