diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-12 03:35:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-12 03:35:31 +0300 |
commit | e00bb5a4b730475fba8e2d14c9f2645af9b88f51 (patch) | |
tree | 08b142ff00a34ce70cefce7c15eb0d9fdcecaafa /source/blender/draw/engines/overlay/overlay_image.c | |
parent | 9e1e9516a08d94059b113fb3ac0d37b5ec3eaca0 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/draw/engines/overlay/overlay_image.c')
-rw-r--r-- | source/blender/draw/engines/overlay/overlay_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/engines/overlay/overlay_image.c b/source/blender/draw/engines/overlay/overlay_image.c index 9695f8616a5..844a0eb8351 100644 --- a/source/blender/draw/engines/overlay/overlay_image.c +++ b/source/blender/draw/engines/overlay/overlay_image.c @@ -346,9 +346,9 @@ void OVERLAY_image_camera_cache_populate(OVERLAY_Data *vedata, Object *ob) mul_m4_m4m4(mat, modelmat, mat); const bool is_foreground = (bgpic->flag & CAM_BGIMG_FLAG_FOREGROUND) != 0; - /* Alpha is clamped just below 1.0 to fix background images to intefere with foreground + /* Alpha is clamped just below 1.0 to fix background images to interfere with foreground * images. Without this a background image with 1.0 will be rendered on top of a transparent - * foreground image due to the differnet blending modes they use. */ + * foreground image due to the different blending modes they use. */ const float color_premult_alpha[4] = {1.0f, 1.0f, 1.0f, MIN2(bgpic->alpha, 0.999999)}; DRWPass *pass = is_foreground ? (use_view_transform ? psl->image_foreground_scene_ps : |