Improve the title of shader edit windows

This commit is contained in:
baldurk
2020-04-03 15:19:28 +01:00
parent 590785c470
commit 9ba81634b4
8 changed files with 27 additions and 21 deletions
+3 -3
View File
@@ -2163,14 +2163,14 @@ void CaptureContext::ShowResourceInspector()
m_MainWindow->showResourceInspector();
}
IShaderViewer *CaptureContext::EditShader(bool customShader, ShaderStage stage,
IShaderViewer *CaptureContext::EditShader(ResourceId id, ShaderStage stage,
const rdcstr &entryPoint, const rdcstrpairs &files,
ShaderEncoding shaderEncoding, ShaderCompileFlags flags,
IShaderViewer::SaveCallback saveCallback,
IShaderViewer::CloseCallback closeCallback)
{
return ShaderViewer::EditShader(*this, customShader, stage, entryPoint, files, shaderEncoding,
flags, saveCallback, closeCallback, m_MainWindow->Widget());
return ShaderViewer::EditShader(*this, id, stage, entryPoint, files, shaderEncoding, flags,
saveCallback, closeCallback, m_MainWindow->Widget());
}
IShaderViewer *CaptureContext::DebugShader(const ShaderBindpointMapping *bind,