mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-15 10:20:07 +00:00
Fix stride calculation
This commit is contained in:
1 parent
22c8f749f8
commit
e144bde4d4
1 file changed
+1
-1
@@ -4064,7 +4064,7 @@ vector<PixelModification> D3D11DebugManager::PixelHistory(uint32_t frameID, vect
|
||||
|
||||
for(int p=0; p < 2; p++)
|
||||
{
|
||||
byte *data = rowdata + fmt.compCount * fmt.compByteWidth * (storex + p) * pixstoreStride;
|
||||
byte *data = rowdata + fmt.compCount * fmt.compByteWidth * (storex * pixstoreStride + p);
|
||||
|
||||
ModificationValue *val = (p == 0 ? &mod.preMod : &mod.postMod);
|
||||
|
||||
|
||||
Reference in new issue
Block a user