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 <ideasman42@gmail.com>2013-03-14 09:59:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-14 09:59:34 +0400
commit92d45811c388ef9a22662521151aa00deca5d889 (patch)
treecc1b727a02a9319e21782853d51ad5f70632edea /source/blender/blenkernel/BKE_brush.h
parent0fa006cba1f8f67d91adea0ea9a1c5669ae21b72 (diff)
fix reading out of buffer bounds for recent vertex paint commit.
Diffstat (limited to 'source/blender/blenkernel/BKE_brush.h')
-rw-r--r--source/blender/blenkernel/BKE_brush.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_brush.h b/source/blender/blenkernel/BKE_brush.h
index f44436f965c..3a4684257f6 100644
--- a/source/blender/blenkernel/BKE_brush.h
+++ b/source/blender/blenkernel/BKE_brush.h
@@ -70,7 +70,7 @@ float BKE_brush_curve_strength(struct Brush *br, float p, const float len); /* u
/* sampling */
float BKE_brush_sample_tex_3D(const Scene *scene, struct Brush *br, const float point[3],
- float rgba[3], const int thread, struct ImagePool *pool);
+ float rgba[4], const int thread, struct ImagePool *pool);
float BKE_brush_sample_tex_2D(const struct Scene *scene, struct Brush *brush, const float xy[2],
float rgba[4], struct ImagePool *pool);
void BKE_brush_imbuf_new(const struct Scene *scene, struct Brush *brush, short flt, short texfalloff, int size,