diff options
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_render.c | 2 | ||||
-rw-r--r-- | source/blender/draw/engines/image/image_drawing_mode.hh | 2 |
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. |