Commit 9c269836 authored by Felix Paul Kühne's avatar Felix Paul Kühne

caopengllayer: request HDR mode

parent 517bcf14
......@@ -219,6 +219,11 @@ static int Open (vlc_object_t *p_this)
msg_Dbg(vd, "OS does not support custom color spaces, output may be undefined");
/* request our screen's HDR mode (introduced in OS X 10.11) */
if ([sys->cgLayer respondsToSelector:@selector(setWantsExtendedDynamicRangeContent:)]) {
[sys->cgLayer setWantsExtendedDynamicRangeContent:YES];
/* setup initial state */
CGSize outputSize;
if ([container respondsToSelector:@selector(currentOutputSize)])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment