1
1

Fix typos in rB0a8fa07735cdb89081b652c032c73863e34f8ff1

This commit is contained in:
2022-01-28 23:50:49 +01:00
parent 0a8fa07735
commit afdc35b636

View File

@@ -416,9 +416,9 @@ std::string GLShader::resources_declare(const ShaderCreateInfo &info) const
ss << ";\n";
}
for (const ShaderCreateInfo::PushConst &uniform : info.push_constants_) {
/* T95278: Double macro to avoid some compilers think it is recusive. */
/* T95278: Double macro to avoid some compilers think it is recursive. */
ss << "#define " << uniform.name << "_ " << uniform.name << "\n";
ss << "#define " << uniform.name << " (" << uniform.name << _ ")\n";
ss << "#define " << uniform.name << " (" << uniform.name << "_)\n";
}
ss << "\n";
return ss.str();