Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9e11954 authored by Alec Mouri's avatar Alec Mouri Committed by Automerger Merge Worker
Browse files

Merge "Disable HDR screenshots" into udc-dev am: 12baa2e6

parents d0923675 12baa2e6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6992,7 +6992,8 @@ ui::Dataspace pickBestDataspace(ui::Dataspace requestedDataspace, const DisplayD

    const auto dataspaceForColorMode = ui::pickDataspaceFor(state.colorMode);

    if (capturingHdrLayers && !hintForSeamlessTransition) {
    // TODO: Enable once HDR screenshots are ready.
    if constexpr (/* DISABLES CODE */ (false)) {
        // For now since we only support 8-bit screenshots, just use HLG and
        // assume that 1.0 >= display max luminance. This isn't quite as future
        // proof as PQ is, but is good enough.