diff --git a/renderdoc/driver/d3d11/d3d11_pixelhistory.cpp b/renderdoc/driver/d3d11/d3d11_pixelhistory.cpp index 7b5c5724e..27d548ed9 100644 --- a/renderdoc/driver/d3d11/d3d11_pixelhistory.cpp +++ b/renderdoc/driver/d3d11/d3d11_pixelhistory.cpp @@ -307,8 +307,8 @@ rdcarray D3D11Replay::PixelHistory(rdcarray event y, slice, mip, sampleIdx, (uint32_t)events.size())); // Use the given type hint for typeless textures - details.texFmt = GetNonSRGBFormat(details.texFmt); details.texFmt = GetTypedFormat(details.texFmt, typeCast); + details.texFmt = GetNonSRGBFormat(details.texFmt); SCOPED_TIMER("D3D11DebugManager::PixelHistory");