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:
authorBrecht Van Lommel <brecht@blender.org>2022-03-11 16:23:11 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-03-11 20:27:58 +0300
commite1a1dc868b30be80e59b747557830d507600bd1d (patch)
treed4892814680df4e8862287e37eb889af87807867 /source/blender/gpu
parentdbd9472ef58174e8af011735b0b1bd87a7447348 (diff)
Cleanup: fix source comment typos
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D14307
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_shader_create_info.hh2
-rw-r--r--source/blender/gpu/opengl/gl_shader.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_create_info.hh b/source/blender/gpu/intern/gpu_shader_create_info.hh
index bf74d44d9a7..da63d372669 100644
--- a/source/blender/gpu/intern/gpu_shader_create_info.hh
+++ b/source/blender/gpu/intern/gpu_shader_create_info.hh
@@ -22,7 +22,7 @@
namespace blender::gpu::shader {
#ifndef GPU_SHADER_CREATE_INFO
-/* Helps intelisense / auto-completion. */
+/* Helps intellisense / auto-completion. */
# define GPU_SHADER_INTERFACE_INFO(_interface, _inst_name) \
StageInterfaceInfo _interface(#_interface, _inst_name); \
_interface
diff --git a/source/blender/gpu/opengl/gl_shader.cc b/source/blender/gpu/opengl/gl_shader.cc
index 31f657a63b2..256702b60c5 100644
--- a/source/blender/gpu/opengl/gl_shader.cc
+++ b/source/blender/gpu/opengl/gl_shader.cc
@@ -175,7 +175,7 @@ static const char *to_string(const eGPUTextureFormat &type)
case GPU_R16:
return "r16";
default:
- return "unkown";
+ return "unknown";
}
}