diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-31 05:05:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-31 05:05:40 +0400 |
commit | 79249f8aede5c5481c625335b5ef7bd9b4cf28cc (patch) | |
tree | 086a359a188266ebf6ca0bda3ffa97b36e739ce3 /source/blender/imbuf/IMB_imbuf.h | |
parent | 2457c2134aaef5faec561757ecb1d4afbd1dabcd (diff) |
fix [#28430] Image with Stampinfo does not get saved correctly with alpha
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index 1fbe8e01fd4..2c926f2d94b 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -499,7 +499,7 @@ void IMB_rectfill_area(struct ImBuf *ibuf, float *col, int x1, int y1, int x2, i void IMB_rectfill_alpha(struct ImBuf *ibuf, const float value); /* this should not be here, really, we needed it for operating on render data, IMB_rectfill_area calls it */ -void buf_rectfill_area(unsigned char *rect, float *rectf, int width, int height, float *col, int x1, int y1, int x2, int y2); +void buf_rectfill_area(unsigned char *rect, float *rectf, int width, int height, const float col[4], int x1, int y1, int x2, int y2); /* defined in metadata.c */ int IMB_metadata_change_field(struct ImBuf *img, const char *key, const char *field); |