Get typed format before trying to do readback

This commit is contained in:
baldurk
2014-08-24 02:01:47 +01:00
parent d2188edc68
commit 7ae4c259df
+1 -1
View File
@@ -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++)
{