From 40484a6586f9995d4baf3e3bbc014851cefd6881 Mon Sep 17 00:00:00 2001 From: Omar Emara Date: Tue, 23 May 2023 14:14:07 +0300 Subject: [PATCH] Cleanup: Silence unused parameters warnings --- .../intern/ocio_color_space_conversion_shader.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/compositor/realtime_compositor/cached_resources/intern/ocio_color_space_conversion_shader.cc b/source/blender/compositor/realtime_compositor/cached_resources/intern/ocio_color_space_conversion_shader.cc index b5d259c8103..cf4806c5323 100644 --- a/source/blender/compositor/realtime_compositor/cached_resources/intern/ocio_color_space_conversion_shader.cc +++ b/source/blender/compositor/realtime_compositor/cached_resources/intern/ocio_color_space_conversion_shader.cc @@ -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,