Remove parent widget parameter from shader view/edit/debug functions

This commit is contained in:
baldurk
2017-04-07 18:23:17 +01:00
parent 35f9c53486
commit ea1dbc27f9
11 changed files with 27 additions and 36 deletions
+2 -2
View File
@@ -659,8 +659,8 @@ void PixelHistoryView::startDebug(EventTag tag)
m_Ctx.CurPipelineState().GetBindpointMapping(ShaderStage::Pixel);
// viewer takes ownership of the trace
IShaderViewer *s = m_Ctx.DebugShader(&bindMapping, shaderDetails, ShaderStage::Pixel, trace,
debugContext, m_Ctx.GetMainWindow()->Widget());
IShaderViewer *s =
m_Ctx.DebugShader(&bindMapping, shaderDetails, ShaderStage::Pixel, trace, debugContext);
m_Ctx.AddDockWindow(s->Widget(), DockReference::AddTo, m_Ctx.GetMainWindow()->Widget());
});