Remove redundant instOffset/vertOffset parameters from DebugVertex()

This commit is contained in:
baldurk
2020-02-13 16:53:06 +00:00
parent de7f9d8e1c
commit c23825292d
16 changed files with 27 additions and 41 deletions
+1 -2
View File
@@ -3807,8 +3807,7 @@ void BufferViewer::debugVertex()
ShaderDebugTrace *trace = NULL;
m_Ctx.Replay().AsyncInvoke([this, &done, &trace, vertid, index](IReplayController *r) {
trace = r->DebugVertex(vertid, m_Config.curInstance, index, m_Ctx.CurDrawcall()->instanceOffset,
m_Ctx.CurDrawcall()->vertexOffset);
trace = r->DebugVertex(vertid, m_Config.curInstance, index);
if(trace->debugger == NULL)
{