Skip to content

Commit 97da03b

Browse files
author
Chris Hellmuth
committed
final -Werror fix?
1 parent f9ea496 commit 97da03b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

source/MaterialXRenderOsl/OslRenderer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ void OslRenderer::renderOSL(const FilePath& dirPath, const string& shaderName, c
211211
}
212212
}
213213

214-
void OslRenderer::renderOSLNodes(const FilePath& dirPath, const string& shaderName, const string& outputName)
214+
void OslRenderer::renderOSLNodes(const FilePath& dirPath, const string& shaderName)
215215
{
216216
// If command options missing, skip testing.
217217
if (_oslTestRenderExecutable.isEmpty() ||
@@ -510,7 +510,7 @@ void OslRenderer::render()
510510

511511
if (_useOSLCmdStr)
512512
{
513-
renderOSLNodes(_oslOutputFilePath, _oslShaderName, _oslShaderOutputName);
513+
renderOSLNodes(_oslOutputFilePath, _oslShaderName);
514514
}
515515
else
516516
{

source/MaterialXRenderOsl/OslRenderer.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,7 @@ class MX_RENDEROSL_API OslRenderer : public ShaderRenderer
248248
/// Render using OSL command string. Will throw an exception if an error occurs.
249249
/// @param dirPath Path to location containing input .oso file.
250250
/// @param shaderName Name of OSL shader. A corresponding .oso file is assumed to exist in the output path folder.
251-
/// @param outputName Name of OSL shader output to use.
252-
void renderOSLNodes(const FilePath& dirPath, const string& shaderName, const string& outputName);
251+
void renderOSLNodes(const FilePath& dirPath, const string& shaderName);
253252

254253
/// Constructor
255254
OslRenderer(unsigned int width, unsigned int height, Image::BaseType baseType);

0 commit comments

Comments
 (0)