- Fix vk_hdr looking for the wrong colorspace
This commit is contained in:
parent
6aed119403
commit
dd2d9f4182
3 changed files with 18 additions and 29 deletions
|
|
@ -220,7 +220,7 @@ void VkPostprocess::DrawPresentTexture(const IntRect &box, bool applyGamma, bool
|
|||
uniforms.Offset = { 0.0f, 1.0f };
|
||||
}
|
||||
|
||||
if (applyGamma && fb->swapChain->swapChainFormat.colorSpace == VK_COLOR_SPACE_HDR10_ST2084_EXT && !screenshot)
|
||||
if (applyGamma && fb->swapChain->IsHdrModeActive() && !screenshot)
|
||||
{
|
||||
uniforms.HdrMode = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue