diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index f18d837f..6a27b1de 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -4187,7 +4187,7 @@ namespace dxvk { } } else { - physSlice = mappedBuffer->getSliceHandle(); + physSlice = pResource->GetMappedSlice(Subresource); if (!alloced || wasWrittenByGPU) { if (unlikely(wasWrittenByGPU)) {