From 2f9b7410dc712961f5684e4892660167c693cda8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 13 Apr 2013 00:43:49 +0000 Subject: code cleanup: warnings + style --- source/blender/editors/sculpt_paint/paint_utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/editors/sculpt_paint/paint_utils.c') diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c index 0bf27267c89..18ecd0cec84 100644 --- a/source/blender/editors/sculpt_paint/paint_utils.c +++ b/source/blender/editors/sculpt_paint/paint_utils.c @@ -206,10 +206,10 @@ void paint_get_tex_pixel_col(MTex *mtex, float u, float v, float rgba[4], struct rgba[2] = intensity; rgba[3] = 1.0f; } - CLAMP(rgba[0], 0.0, 1.0); - CLAMP(rgba[1], 0.0, 1.0); - CLAMP(rgba[2], 0.0, 1.0); - CLAMP(rgba[3], 0.0, 1.0); + CLAMP(rgba[0], 0.0f, 1.0f); + CLAMP(rgba[1], 0.0f, 1.0f); + CLAMP(rgba[2], 0.0f, 1.0f); + CLAMP(rgba[3], 0.0f, 1.0f); } /* 3D Paint */ -- cgit v1.2.3