mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-13 18:21:01 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user