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:
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r--source/blender/gpu/intern/gpu_select_pick.c2
-rw-r--r--source/blender/gpu/intern/gpu_uniformbuffer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_select_pick.c b/source/blender/gpu/intern/gpu_select_pick.c
index 1880a0cfbdf..939279d82ff 100644
--- a/source/blender/gpu/intern/gpu_select_pick.c
+++ b/source/blender/gpu/intern/gpu_select_pick.c
@@ -483,7 +483,7 @@ bool gpu_select_pick_load_id(uint id, bool end)
if (ps->gl.is_init) {
if (id == ps->gl.prev_id && !end) {
/* No need to read if we are still drawing for the same id since
- * all these depths will be merged / deduplicated in the end. */
+ * all these depths will be merged / de-duplicated in the end. */
return true;
}
diff --git a/source/blender/gpu/intern/gpu_uniformbuffer.c b/source/blender/gpu/intern/gpu_uniformbuffer.c
index 6b2c9033c13..d7766c51f38 100644
--- a/source/blender/gpu/intern/gpu_uniformbuffer.c
+++ b/source/blender/gpu/intern/gpu_uniformbuffer.c
@@ -243,7 +243,7 @@ static eGPUType get_padded_gpu_type(LinkData *link)
}
/**
- * Returns 1 if the first item shold be after second item.
+ * Returns 1 if the first item should be after second item.
* We make sure the vec4 uniforms come first.
*/
static int inputs_cmp(const void *a, const void *b)