D3D12: Handle MapReadAsync offset

This commit is contained in:
Corentin Wallez 2017-07-17 18:27:21 -04:00 committed by Corentin Wallez
parent d8e1a25cbc
commit ea1241af80
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ namespace d3d12 {
ASSERT_SUCCESS(resource->Map(0, &readRange, reinterpret_cast<void**>(&data)));
MapReadRequestTracker* tracker = ToBackend(GetDevice())->GetMapReadRequestTracker();
tracker->Track(this, serial, data);
tracker->Track(this, serial, data + start);
}
void Buffer::UnmapImpl() {