Code cleanup: correct arg size

This commit is contained in:
Campbell Barton 2014-03-29 08:42:11 +11:00
parent 025421950b
commit d3309ac5c9
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,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[4], const int thread, struct ImagePool *pool);
float BKE_brush_sample_masktex(const Scene *scene, struct Brush *br, const float point[3],
float BKE_brush_sample_masktex(const Scene *scene, struct Brush *br, const float point[2],
const int thread, struct ImagePool *pool);
/* texture */

View File

@ -649,7 +649,7 @@ float BKE_brush_sample_tex_3D(const Scene *scene, Brush *br,
}
float BKE_brush_sample_masktex(const Scene *scene, Brush *br,
const float point[3],
const float point[2],
const int thread,
struct ImagePool *pool)
{