Fix internal pointers leaking out in change lists when debugging SPIR-V

This commit is contained in:
baldurk
2022-09-13 12:19:46 +01:00
parent 336e90d412
commit bc867681a1
@@ -363,7 +363,7 @@ void ThreadState::SetDst(Id id, const ShaderVariable &val)
if(m_State)
{
ShaderVariableChange change;
change.before = prev;
change.before = debugger.GetPointerValue(prev);
change.after = debugger.GetPointerValue(ids[id]);
m_State->changes.push_back(change);
}