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/editors/space_image')
-rw-r--r--source/blender/editors/space_image/image_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c
index 865f4be5d5b..93f3acdfa87 100644
--- a/source/blender/editors/space_image/image_ops.c
+++ b/source/blender/editors/space_image/image_ops.c
@@ -3011,7 +3011,7 @@ static void image_sample_rect_color_ubyte(
const ImBuf *ibuf, const rcti *rect,
uchar r_col[4], float r_col_linear[4])
{
- uint col_accum_ub[4];
+ uint col_accum_ub[4] = {0, 0, 0, 0};
zero_v4(r_col_linear);
int col_tot = 0;
int coord[2];