diff options
author | der richter <der.richter@gmx.de> | 2024-02-26 22:48:05 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2024-02-27 14:03:15 +0100 |
commit | c15307244fc54315c18c69c4ce5234803165f304 (patch) | |
tree | a10eb9a9efbc7a4b587ae863565080e7fe6fd834 /sub | |
parent | 7a1b387aa9aebab9c12e4111268ccbbedb83d08b (diff) | |
download | mpv-c15307244fc54315c18c69c4ce5234803165f304.tar.bz2 mpv-c15307244fc54315c18c69c4ce5234803165f304.tar.xz |
mac: remove unnecessary metal layer colour space update
this logic was copied from the cocoa-cb opengl backend, since it was
assumed both layers work similar. apparently they don't and a nil value
on the metal layer means use the display colour profile, while on the
opengl layer it means undefined behaviour.
this also fixes a problem with the target-colorspace-hint option, since
moltenvk needs to set this colour space itself for a proper hint. both
mechanism would compete to set the colour space.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions