diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-29 14:52:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-29 14:52:37 +0400 |
commit | 5d9f3c5d1827c3502a97e00aff0103382f785f68 (patch) | |
tree | 191578145c1abaa95dc43f424cc94313ba5de021 /source/blender/blenkernel/BKE_image.h | |
parent | 6264579f6bf15243b9f6aa65cc45fdf3173231f7 (diff) |
fix for crash scaling an image
Diffstat (limited to 'source/blender/blenkernel/BKE_image.h')
-rw-r--r-- | source/blender/blenkernel/BKE_image.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_image.h b/source/blender/blenkernel/BKE_image.h index e2263a5edb7..699eb0a9f02 100644 --- a/source/blender/blenkernel/BKE_image.h +++ b/source/blender/blenkernel/BKE_image.h @@ -191,7 +191,7 @@ struct Image *BKE_image_copy(struct Image *ima); void BKE_image_merge(struct Image *dest, struct Image *source); /* scale the image */ -void BKE_image_scale(struct Image *image, int width, int height); +int BKE_image_scale(struct Image *image, int width, int height); /* check if texture has alpha (depth=32) */ int BKE_image_has_alpha(struct Image *image); |