diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-10 09:23:11 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-10 09:23:11 +0300 |
commit | 77f41da5f1a4f11be37d719722e9bac8e2912604 (patch) | |
tree | 87af00ead39bc8c9ebf5187962f031daca8bbab6 /source/blender/gpu | |
parent | 72f388c85e5f6d819e9e9f44b3ef29a8ecce3c62 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_dependency.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_dependency.cc b/source/blender/gpu/intern/gpu_shader_dependency.cc index 953f656c2b5..961d3fcfe5b 100644 --- a/source/blender/gpu/intern/gpu_shader_dependency.cc +++ b/source/blender/gpu/intern/gpu_shader_dependency.cc @@ -660,7 +660,7 @@ struct GPUSource { std::string func_args = input_args; /* Workaround to support function call inside prints. We replace commas by a non control - * caracter $ in order to use simpler regex later. */ + * character `$` in order to use simpler regex later. */ bool string_scope = false; int func_scope = 0; for (char &c : func_args) { @@ -682,7 +682,7 @@ struct GPUSource { const bool print_as_variable = (input_args[0] != '"') && find_token(input_args, ',') == -1; if (print_as_variable) { - /* Variable or expression debuging. */ + /* Variable or expression debugging. */ std::string arg = input_args; /* Pad align most values. */ while (arg.length() % 4 != 0) { |