Cleanup: Clang-tidy warning gl_shader.cc

This commit is contained in:
2022-01-28 16:35:05 +01:00
parent b6f640b953
commit 391bb6e9ba

View File

@@ -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;
}