Remove incorrect sRGB conversion of clear overlay background color

This commit is contained in:
baldurk
2020-12-15 16:36:07 +00:00
parent 6ea3f99676
commit 2a6774db34
-4
View File
@@ -272,10 +272,6 @@ void ReplayOutput::RefreshOverlay()
{
FloatVector f = m_RenderData.texDisplay.backgroundColor;
f.x = ConvertLinearToSRGB(f.x);
f.y = ConvertLinearToSRGB(f.y);
f.z = ConvertLinearToSRGB(f.z);
m_OverlayResourceId =
m_pDevice->RenderOverlay(id, f, m_RenderData.texDisplay.overlay, m_EventID, passEvents);
m_OverlayDirty = false;