Skip to content
Commit 9bda064e authored by Andrii Kryvytskyi's avatar Andrii Kryvytskyi Committed by José Fonseca
Browse files

memtrace: Update nBlocks when pointer changes in MemoryShadow::cover



During each ::Map different pointers could be returned by DirectX.
Thus for the same resource with the same subresource having the same size
pointer may change between calls of MemoryShadow::cover. With the pointer
change number of blocks also may change, which may later cause memory
access violation in MemoryShadow::update.

Signed-off-by: default avatarDanylo Piliaiev <danylo.piliaiev@globallogic.com>
Signed-off-by: default avatarAndrii Kryvytskyi <andrii.o.kryvytskyi@globallogic.com>
parent e0bfba62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment