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

Commit 2964072d authored by Alec Mouri's avatar Alec Mouri
Browse files

Disable HDR screenshots

Bug: 282823628
Change-Id: I60867302eaf968f6b756e3ec37dd55caddf98a49
Test: screencap
parent eb7596b8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6952,7 +6952,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.