mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
avoid erase map's end
This commit is contained in:
committed by
Baldur Karlsson
parent
06eaf5a33a
commit
78862bfce7
@@ -8088,7 +8088,10 @@ void WrappedID3D11DeviceContext::Unmap(ID3D11Resource *pResource, UINT Subresour
|
||||
"unsuccessful");
|
||||
m_SuccessfulCapture = false;
|
||||
m_FailureReason = CaptureFailed_UncappedUnmap;
|
||||
m_OpenMaps.erase(it);
|
||||
if(it != m_OpenMaps.end())
|
||||
{
|
||||
m_OpenMaps.erase(it);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user