diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-26 20:04:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-26 20:04:31 +0400 |
commit | de6af75d4d10c2f9b3321435cb669f75f471ff70 (patch) | |
tree | 157d517fca16c709b7125d460b05cce275480720 /source/blender/imbuf/IMB_imbuf.h | |
parent | ae919658d4a371772dce7a78113f828d10efeeaa (diff) |
code cleanup: use array size and const for vector args
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 a0c737b44fc..d79f0a3bf2c 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -480,7 +480,7 @@ void IMB_freezbuffloatImBuf(struct ImBuf *ibuf); * \attention Defined in rectop.c */ void IMB_rectfill(struct ImBuf *drect, const float col[4]); -void IMB_rectfill_area(struct ImBuf *ibuf, float *col, int x1, int y1, int x2, int y2); +void IMB_rectfill_area(struct ImBuf *ibuf, const float col[4], int x1, int y1, int x2, int y2); 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 */ |