forked from bartvdbraak/blender
Cleanup: Silence unused parameters warnings
This commit is contained in:
parent
e54a20b2a2
commit
40484a6586
@ -86,7 +86,7 @@ class GPUShaderCreator : public OCIO::GpuShaderCreator {
|
||||
}
|
||||
|
||||
/* This is ignored since we query using our own GPU capabilities system. */
|
||||
void setTextureMaxWidth(unsigned max_width) override {}
|
||||
void setTextureMaxWidth(unsigned /*max_width*/) override {}
|
||||
|
||||
unsigned getTextureMaxWidth() const noexcept override
|
||||
{
|
||||
@ -255,7 +255,7 @@ class GPUShaderCreator : public OCIO::GpuShaderCreator {
|
||||
/* This gets called before the finalize() method to construct the shader code. We just
|
||||
* concatenate the code except for the declarations section. That's because the ShaderCreateInfo
|
||||
* will add the declaration itself. */
|
||||
void createShaderText(const char *declarations,
|
||||
void createShaderText(const char * /*declarations*/,
|
||||
const char *helper_methods,
|
||||
const char *function_header,
|
||||
const char *function_body,
|
||||
|
Loading…
Reference in New Issue
Block a user