Fix off-by-one error on D3D11's current EID when executing

This commit is contained in:
baldurk
2016-06-20 13:27:20 +02:00
parent 3e0b71de60
commit d0a292f611
+2
View File
@@ -1079,6 +1079,8 @@ void WrappedID3D11DeviceContext::ReplayLog(LogState readType, uint32_t startEven
{
if(m_State == EXECUTING && m_CurEventID > endEventID)
{
// set event ID correctly as we haven't actually replayed the next one.
m_CurEventID = endEventID;
// we can just break out if we've done all the events desired.
break;
}