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:
authorCampbell Barton <campbell@blender.org>2022-03-04 02:29:53 +0300
committerCampbell Barton <campbell@blender.org>2022-03-04 02:31:11 +0300
commit8b06c524d207f5e67ef22d6a1869c94d8f91717f (patch)
tree3a89ed263632daa2b9bd49971ef45dee46744375 /source/blender/draw/engines
parentfd2519e0b6948903892c3cfc373c903337979407 (diff)
Cleanup: spelling in comments, function name
Diffstat (limited to 'source/blender/draw/engines')
-rw-r--r--source/blender/draw/engines/gpencil/gpencil_render.c2
-rw-r--r--source/blender/draw/engines/image/image_drawing_mode.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_render.c b/source/blender/draw/engines/gpencil/gpencil_render.c
index 9c3779c18ad..19afdb3de5a 100644
--- a/source/blender/draw/engines/gpencil/gpencil_render.c
+++ b/source/blender/draw/engines/gpencil/gpencil_render.c
@@ -174,7 +174,7 @@ static void GPENCIL_render_result_z(struct RenderLayer *rl,
int pix_ct = BLI_rcti_size_x(rect) * BLI_rcti_size_y(rect);
- /* Convert ogl depth [0..1] to view Z [near..far] */
+ /* Convert GPU depth [0..1] to view Z [near..far] */
if (DRW_view_is_persp_get(NULL)) {
for (int i = 0; i < pix_ct; i++) {
if (rp->rect[i] == 1.0f) {
diff --git a/source/blender/draw/engines/image/image_drawing_mode.hh b/source/blender/draw/engines/image/image_drawing_mode.hh
index c091f800d95..46482ab6668 100644
--- a/source/blender/draw/engines/image/image_drawing_mode.hh
+++ b/source/blender/draw/engines/image/image_drawing_mode.hh
@@ -401,7 +401,7 @@ template<typename TextureMethod> class ScreenSpaceDrawingMode : public AbstractD
/**
* \brief Ensure that the float buffer of the given image buffer is available.
*
- * Returns true when a float buffer was created. Somehow the VSE cache increases the ref
+ * Returns true when a float buffer was created. Somehow the sequencer cache increases the ref
* counter, but might use a different mechanism for destructing the image, that doesn't free the
* rect_float as the reference-counter isn't 0. To work around this we destruct any created local
* buffers ourself.