diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-01-28 18:35:05 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-01-28 18:35:05 +0300 |
commit | 391bb6e9ba647e86ea80350f99658e05c960abdf (patch) | |
tree | 6f4fc2b9401cf81a2412e8b4006ce8f197b39ce0 /source | |
parent | b6f640b9534289d2235f3bcb9689bcc5d58f721d (diff) |
Cleanup: Clang-tidy warning gl_shader.cc
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/gpu/opengl/gl_shader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/opengl/gl_shader.cc b/source/blender/gpu/opengl/gl_shader.cc index d1ef6448791..6f39d69e6ff 100644 --- a/source/blender/gpu/opengl/gl_shader.cc +++ b/source/blender/gpu/opengl/gl_shader.cc @@ -498,7 +498,7 @@ std::string GLShader::geometry_layout_declare(const ShaderCreateInfo &info) cons static StageInterfaceInfo *find_interface_by_name(const Vector<StageInterfaceInfo *> &ifaces, const StringRefNull &name) { - for (auto iface : ifaces) { + for (auto *iface : ifaces) { if (iface->name == name) { return iface; } |