diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-09-25 10:11:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-09-25 10:19:08 +0300 |
commit | d0279f7d36a6cba8bf91b9c6a982da5185a51ac4 (patch) | |
tree | 7d82e6c88d0ec4f5696958d524ef8c7a9e91a141 /source/blender/imbuf/intern/filetype.c | |
parent | 3142ae19d22767507ec190ff39c89210ac96c39d (diff) |
Cleanup: use const for image blending functions
Diffstat (limited to 'source/blender/imbuf/intern/filetype.c')
-rw-r--r-- | source/blender/imbuf/intern/filetype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/filetype.c b/source/blender/imbuf/intern/filetype.c index d1b3bf21e23..c6f8bab325b 100644 --- a/source/blender/imbuf/intern/filetype.c +++ b/source/blender/imbuf/intern/filetype.c @@ -40,11 +40,11 @@ # include "dds/dds_api.h" #endif -static int imb_ftype_default(const ImFileType *type, ImBuf *ibuf) +static int imb_ftype_default(const ImFileType *type, const ImBuf *ibuf) { return (ibuf->ftype == type->filetype); } -static int imb_ftype_iris(const ImFileType *type, ImBuf *ibuf) +static int imb_ftype_iris(const ImFileType *type, const ImBuf *ibuf) { (void)type; return (ibuf->ftype == IMB_FTYPE_IMAGIC); |