mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 15:06:32 +00:00
Fix pixel pick value in D3D12 with a sRGB target
This commit is contained in:
committed by
Baldur Karlsson
parent
ea5e63cfa6
commit
0d2275ac02
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user