diff options
Diffstat (limited to 'source/blender/imbuf/intern/scaling.c')
-rw-r--r-- | source/blender/imbuf/intern/scaling.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/scaling.c b/source/blender/imbuf/intern/scaling.c index e57f3bb08f4..14b2ded73e0 100644 --- a/source/blender/imbuf/intern/scaling.c +++ b/source/blender/imbuf/intern/scaling.c @@ -557,7 +557,8 @@ static void shrink_picture_byte(unsigned char *src, w = (weight1y * weight1x) >> 16; - /* ensure correct rounding, without this you get ugly banding, or too low color values (ton) */ + /* Ensure correct rounding, without this you get ugly banding, + * or too low color values (ton). */ dst_line1[x].r += (line[0] * w + 32767) >> 16; dst_line1[x].g += (line[1] * w + 32767) >> 16; dst_line1[x].b += (line[2] * w + 32767) >> 16; |