Fix pixel pick value in D3D12 with a sRGB target

This commit is contained in:
Steve Karolewics
2020-01-22 19:05:37 +00:00
committed by Baldur Karlsson
parent ea5e63cfa6
commit 0d2275ac02
+1 -1
View File
@@ -759,7 +759,7 @@ void TextureViewer::RT_FetchCurrentPixel(IReplayController *r, uint32_t x, uint3
}
}
realValue = r->PickPixel(id, x, y, sub, CompType::Typeless);
realValue = r->PickPixel(id, x, y, sub, typeCast);
if(m_TexDisplay.customShaderId != ResourceId())
{