From 3d3bc748849834ef74563deb603ab43859cffeeb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 7 Jan 2022 11:38:08 +1100 Subject: Cleanup: remove redundant const qualifiers for POD types MSVC used to warn about const mismatch for arguments passed by value. Remove these as newer versions of MSVC no longer show this warning. --- source/blender/gpu/GPU_shader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/gpu/GPU_shader.h') diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h index 5c373551494..9bcd92f534a 100644 --- a/source/blender/gpu/GPU_shader.h +++ b/source/blender/gpu/GPU_shader.h @@ -62,9 +62,9 @@ GPUShader *GPU_shader_create_ex(const char *vertcode, const char *computecode, const char *libcode, const char *defines, - const eGPUShaderTFBType tf_type, + eGPUShaderTFBType tf_type, const char **tf_names, - const int tf_count, + int tf_count, const char *shname); struct GPU_ShaderCreateFromArray_Params { -- cgit v1.2.3