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-04-13 04:43:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-13 04:43:49 +0400
commit2f9b7410dc712961f5684e4892660167c693cda8 (patch)
tree8898f0650969eba414f105fcf7edba10627a2968 /source/blender/editors/sculpt_paint/paint_utils.c
parent7cf1d86e4adc4893485e34229ccbc0537931c929 (diff)
code cleanup: warnings + style
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_utils.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_utils.c8
1 files changed, 4 insertions, 4 deletions
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 */