Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/MaterialXRender/ShaderRenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class MX_RENDER_API ShaderRenderer
/// @{

/// Capture the current rendered output as an image.
virtual ImagePtr captureImage(ImagePtr image = nullptr)
virtual ImagePtr captureImage(ImagePtr = nullptr)
{
return nullptr;
}
Expand Down
2 changes: 1 addition & 1 deletion source/MaterialXTest/MaterialXGenShader/GenShaderUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class ShaderGeneratorTester
void validate(const mx::GenOptions& generateOptions, const std::string& optionsFilePath);

// Allow the tester to alter the document, e.g., by flattening file names.
virtual void preprocessDocument(mx::DocumentPtr doc) {};
virtual void preprocessDocument(mx::DocumentPtr) {};

// Compile generated source code. Default implementation does nothing.
virtual void compileSource(const std::vector<mx::FilePath>& /*sourceCodePaths*/) {};
Expand Down
2 changes: 1 addition & 1 deletion source/MaterialXTest/MaterialXRender/RenderUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void ShaderRenderTester::getGenerationOptions(const GenShaderUtil::TestSuiteOpti
void ShaderRenderTester::printRunLog(const RenderProfileTimes &profileTimes,
const GenShaderUtil::TestSuiteOptions& options,
std::ostream& stream,
mx::DocumentPtr dependLib)
mx::DocumentPtr)
{
profileTimes.print(stream);

Expand Down