Improve the title of shader edit windows

This commit is contained in:
baldurk
2020-04-03 12:46:02 +01:00
parent 590785c470
commit 9ba81634b4
8 changed files with 27 additions and 21 deletions
+4 -4
View File
@@ -405,15 +405,15 @@ struct CaptureContextInvoker : ICaptureContext
{
InvokeVoidFunction(&ICaptureContext::ShowResourceInspector);
}
virtual IShaderViewer *EditShader(bool customShader, ShaderStage stage, const rdcstr &entryPoint,
virtual IShaderViewer *EditShader(ResourceId id, ShaderStage stage, const rdcstr &entryPoint,
const rdcstrpairs &files, ShaderEncoding shaderEncoding,
ShaderCompileFlags flags,
IShaderViewer::SaveCallback saveCallback,
IShaderViewer::CloseCallback closeCallback) override
{
return InvokeRetFunction<IShaderViewer *>(&ICaptureContext::EditShader, customShader, stage,
entryPoint, files, shaderEncoding, flags,
saveCallback, closeCallback);
return InvokeRetFunction<IShaderViewer *>(&ICaptureContext::EditShader, id, stage, entryPoint,
files, shaderEncoding, flags, saveCallback,
closeCallback);
}
virtual IShaderViewer *DebugShader(const ShaderBindpointMapping *bind,