mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-11 14:51:33 +00:00
Get typed format before trying to do readback
This commit is contained in:
1 parent
d2188edc68
commit
7ae4c259df
1 file changed
+1
-1
@@ -4045,7 +4045,7 @@ vector<PixelModification> D3D11DebugManager::PixelHistory(uint32_t frameID, vect
|
||||
// Third loop over each modification event to read back the pre-draw colour + depth data
|
||||
// as well as the # fragments to use in the next step
|
||||
|
||||
ResourceFormat fmt = MakeResourceFormat(details.texFmt);
|
||||
ResourceFormat fmt = MakeResourceFormat(GetTypedFormat(details.texFmt));
|
||||
|
||||
for(size_t h=0; h < history.size(); h++)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user