Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2022-01-29 01:50:49 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-01-29 01:50:49 +0300
commitafdc35b6367bd8118098ca8b9612bc81144fe415 (patch)
tree77b75649a709029189c99cfeaadbf722e3c3bf79 /source/blender
parent0a8fa07735cdb89081b652c032c73863e34f8ff1 (diff)
Fix typos in rB0a8fa07735cdb89081b652c032c73863e34f8ff1
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/gpu/opengl/gl_shader.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/opengl/gl_shader.cc b/source/blender/gpu/opengl/gl_shader.cc
index 79182ea05e6..9bfb53885e2 100644
--- a/source/blender/gpu/opengl/gl_shader.cc
+++ b/source/blender/gpu/opengl/gl_shader.cc
@@ -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();