diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-01-29 01:50:49 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-01-29 01:50:49 +0300 |
commit | afdc35b6367bd8118098ca8b9612bc81144fe415 (patch) | |
tree | 77b75649a709029189c99cfeaadbf722e3c3bf79 /source/blender/gpu/opengl/gl_shader.cc | |
parent | 0a8fa07735cdb89081b652c032c73863e34f8ff1 (diff) |
Fix typos in rB0a8fa07735cdb89081b652c032c73863e34f8ff1
Diffstat (limited to 'source/blender/gpu/opengl/gl_shader.cc')
-rw-r--r-- | source/blender/gpu/opengl/gl_shader.cc | 4 |
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(); |