diff options
author | Akemi <der.richter@gmx.de> | 2018-07-22 23:07:32 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-09-30 17:13:34 +0300 |
commit | 8d2d0f06403b6777e4b591fa84df57b55e9b7809 (patch) | |
tree | 64924f3a148e688f3702849c1495051c0212ff8a /osdep/macosx_application.h | |
parent | 44e49aee3ccd48459b9c242d296bf7056d2fcdb3 (diff) | |
download | mpv-8d2d0f06403b6777e4b591fa84df57b55e9b7809.tar.bz2 mpv-8d2d0f06403b6777e4b591fa84df57b55e9b7809.tar.xz |
cocoa-cb: add Apple Software Renderer support
by default the pixel format creation falls back to software renderer
when everything fails. this is mostly needed for VMs. additionally one
can directly request an sw renderer or exclude it entirely.
Diffstat (limited to 'osdep/macosx_application.h')
-rw-r--r-- | osdep/macosx_application.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/osdep/macosx_application.h b/osdep/macosx_application.h index c04f479c5b..0301e49fcb 100644 --- a/osdep/macosx_application.h +++ b/osdep/macosx_application.h @@ -23,6 +23,7 @@ struct macos_opts { int macos_title_bar_style; int macos_fs_animation_duration; + int cocoa_cb_sw_renderer; }; // multithreaded wrapper for mpv_main |