Remove redundant fix causing off-by-one errors at runtime. Refs #380

* Previously this fix was needed for shader debugging since we did a
  replay up to before the draw, before debugging. However we don't do
  that anymore and in general the event ID we last replayed will be
  accurate.
This commit is contained in:
baldurk
2017-03-20 21:16:08 +00:00
parent 8b27eda845
commit 0ead37018d
-5
View File
@@ -907,11 +907,6 @@ void WrappedID3D11Device::AddDebugMessage(DebugMessageCategory c, DebugMessageSe
msg.severity = sv;
msg.description = d;
// at runtime we are finding any warnings for the event *after* the current
// event ID, as that's the one we just replayed
if(src == eDbgSource_RuntimeWarning)
msg.eventID++;
m_DebugMessages.push_back(msg);
}
}