diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-20 01:53:04 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-20 03:41:31 +0300 |
commit | f8f8edbe1a624e3c06b5068435368d122f3b64e5 (patch) | |
tree | 39a36fa1aa9f1d791d9af079afaad5ae4eb64117 /source/blender/gpu/intern/gpu_shader_create_info.hh | |
parent | 75ccfa63d0d0c553f797275e7ee4e282562522fe (diff) |
Cleanup: unused argument warning
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_create_info.hh')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_create_info.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_create_info.hh b/source/blender/gpu/intern/gpu_shader_create_info.hh index 8635d261f5f..3d37da911c5 100644 --- a/source/blender/gpu/intern/gpu_shader_create_info.hh +++ b/source/blender/gpu/intern/gpu_shader_create_info.hh @@ -629,6 +629,7 @@ struct ShaderCreateInfo { res.sampler.name = name; /* Produces asan errors for the moment. */ // res.sampler.sampler = sampler; + UNUSED_VARS(sampler); ((freq == Frequency::PASS) ? pass_resources_ : batch_resources_).append(res); interface_names_size_ += name.size() + 1; return *(Self *)this; |