mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-07 07:11:06 +00:00
Fix order of functions to ensure non-SRGB format in pixel history
This commit is contained in:
@@ -307,8 +307,8 @@ rdcarray<PixelModification> D3D11Replay::PixelHistory(rdcarray<EventUsage> 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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user