diff options
author | Julian Eisel <julian@blender.org> | 2020-11-11 19:35:26 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-11-11 19:35:26 +0300 |
commit | ca7079a44e773a26d6f6aa6730f53a16e7de6cd5 (patch) | |
tree | b58ff6ccca5e2afd18da8365705f47112eac0a38 /source/blender/imbuf/intern/dds/dds_api.h | |
parent | fdd9cb713e2e96e430eb022f034bfa9973afc75c (diff) | |
parent | 5b5ec0a2e910a42d7c02774a47fd9c70b6f16f06 (diff) |
Merge branch 'master' into outliner-cpp-refactoroutliner-cpp-refactor
Diffstat (limited to 'source/blender/imbuf/intern/dds/dds_api.h')
-rw-r--r-- | source/blender/imbuf/intern/dds/dds_api.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/dds/dds_api.h b/source/blender/imbuf/intern/dds/dds_api.h index 930205c9efb..9020529f210 100644 --- a/source/blender/imbuf/intern/dds/dds_api.h +++ b/source/blender/imbuf/intern/dds/dds_api.h @@ -26,8 +26,9 @@ extern "C" { #endif -int imb_is_a_dds(const unsigned char *mem); /* use only first 32 bytes of mem */ -int imb_save_dds(struct ImBuf *ibuf, const char *name, int flags); +/* use only first 32 bytes of mem */ +bool imb_is_a_dds(const unsigned char *mem, const size_t size); +bool imb_save_dds(struct ImBuf *ibuf, const char *name, int flags); struct ImBuf *imb_load_dds(const unsigned char *mem, size_t size, int flags, |