Skip to content

color-device: Don't attempt to set GAMMA_LUT if LUT size is zero

Jonas Ådahl requested to merge jadahl/mutter:wip/dont-set-lut-if-zero into main

This might happen on e.g. virtual machines. If we don't skip trying, we'll end up crashing because we'll fail to create a look up table since the size must be greater than zero to make any sense.

Fixes: baef39e6 Closes: #2415 (closed)

Merge request reports