diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-11 08:14:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-11 08:14:05 +0300 |
commit | a5f8071bdf7893ef487c677b460793e8bef55402 (patch) | |
tree | 50593a4a3f98a0fb0975e2346c6c78c55823eafb /source/blender/imbuf/intern/png.c | |
parent | e9c19b28202eb1fdc774d62f23896bf9fafb0fb8 (diff) |
Cleanup: use bool for imbuf save callbacks
Diffstat (limited to 'source/blender/imbuf/intern/png.c')
-rw-r--r-- | source/blender/imbuf/intern/png.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/png.c b/source/blender/imbuf/intern/png.c index 5b3311e5dd0..1f90f91be3e 100644 --- a/source/blender/imbuf/intern/png.c +++ b/source/blender/imbuf/intern/png.c @@ -118,7 +118,7 @@ BLI_INLINE unsigned short ftoshort(float val) return unit_float_to_ushort_clamp(val); } -int imb_savepng(struct ImBuf *ibuf, const char *filepath, int flags) +bool imb_savepng(struct ImBuf *ibuf, const char *filepath, int flags) { png_structp png_ptr; png_infop info_ptr; |