Skip to content

Commit

Permalink
steamcompmgr: Don't re-enable applyOutputColorMgmt when dumping scree…
Browse files Browse the repository at this point in the history
…n buffer for screenshots
  • Loading branch information
misyltoad committed May 24, 2024
1 parent 420eb91 commit 0065946
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/steamcompmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2583,9 +2583,6 @@ paint_all(bool async)
break;
}
}

// Re-enable output color management (blending) if it was disabled by mura.
frameInfo.applyOutputColorMgmt = true;
}
else
{
Expand All @@ -2600,14 +2597,12 @@ paint_all(bool async)
break;
}
}

// Re-enable output color management (blending) if it was disabled by mura.
frameInfo.applyOutputColorMgmt = true;
}
}
}

frameInfo.applyOutputColorMgmt = true;
// Re-enable output color management (blending) if it was disabled by mura.
frameInfo.applyOutputColorMgmt = true;
}

frameInfo.outputEncodingEOTF = bHDRScreenshot ? EOTF_PQ : EOTF_Gamma22;

Expand Down

0 comments on commit 0065946

Please sign in to comment.