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>2014-04-27 01:50:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-27 02:56:54 +0400
commitb6e967be636d0e1bae842b2c52c76fd867a4784a (patch)
treefb1d7430f6bab8b1375019e8b585c850214e5992 /source/blender/imbuf
parent7ca74fc1c008355b84c08bcadb56ea6acabce2f3 (diff)
Code cleanup: const args and arrays
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/scaling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/scaling.c b/source/blender/imbuf/intern/scaling.c
index 34253cd227c..c98b39c826b 100644
--- a/source/blender/imbuf/intern/scaling.c
+++ b/source/blender/imbuf/intern/scaling.c
@@ -674,7 +674,7 @@ struct scale_outpix_float {
};
static void shrink_picture_float(
- float *src, float *dst, int src_width,
+ const float *src, float *dst, int src_width,
int src_height, int dst_width, int dst_height)
{
double ratiox = (double) (dst_width) / (double) (src_width);