fix Full vs Restricted color issue by conversion to sRGB

thanks to @PancakeTAS for this discovery
This commit is contained in:
F. Duncanh
2024-12-19 21:04:51 -05:00
parent 47783de5de
commit b1fb510333
7 changed files with 77 additions and 12 deletions

View File

@@ -32,7 +32,9 @@ if ( ( UNIX AND NOT APPLE ) OR USE_X11 )
endif()
if( UNIX AND NOT APPLE )
add_definitions( -DSUPPRESS_AVAHI_COMPAT_WARNING )
add_definitions( -DSUPPRESS_AVAHI_COMPAT_WARNING )
# convert AirPlay colormap 1:3:7:1 to sRGB (1:1:7:1), needed on Linux and BSD
add_definitions( -DFULL_RANGE_RGB_FIX )
else()
set( CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE )
endif()