mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Remove unused lambda capture variable
This commit is contained in:
@@ -145,10 +145,10 @@ void ConstantBufferPreviewer::OnEventChanged(uint32_t eventId)
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Ctx.Replay().AsyncInvoke([this, entryPoint, offs, prevShader, wasEmpty](IReplayController *r) {
|
||||
m_Ctx.Replay().AsyncInvoke([this, entryPoint, offs, wasEmpty](IReplayController *r) {
|
||||
rdcarray<ShaderVariable> vars = r->GetCBufferVariableContents(
|
||||
m_shader, entryPoint.toUtf8().data(), m_slot, m_cbuffer, offs);
|
||||
GUIInvoke::call(this, [this, vars, prevShader, wasEmpty] {
|
||||
GUIInvoke::call(this, [this, vars, wasEmpty] {
|
||||
|
||||
// save this state to reapply if we don't already have an internal expansion for the new
|
||||
// shader, since this means two shaders with the same or similar constants will preserve
|
||||
|
||||
Reference in New Issue
Block a user