diff options
author | Kent Mein <mein@cs.umn.edu> | 2007-06-25 23:50:25 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2007-06-25 23:50:25 +0400 |
commit | 613646b33e5fde13158a8d8644df8c97bdde2fbb (patch) | |
tree | 9b50512d8f6052e28daa54704e4aff112a4ca102 /source/blender/imbuf/intern/writeimage.c | |
parent | ddc68225c24bc0754d7b81434b06f509d1f0e106 (diff) |
This commit is a modified version of patch #6860
It adds read only dds support. (Writing will come later)
Kent
Diffstat (limited to 'source/blender/imbuf/intern/writeimage.c')
-rw-r--r-- | source/blender/imbuf/intern/writeimage.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/writeimage.c b/source/blender/imbuf/intern/writeimage.c index 2e922c65827..ccca8e9f859 100644 --- a/source/blender/imbuf/intern/writeimage.c +++ b/source/blender/imbuf/intern/writeimage.c @@ -61,6 +61,9 @@ #ifdef WITH_OPENEXR #include "openexr/openexr_api.h" #endif +#ifdef WITH_DDS +#include "dds/dds_api.h" +#endif #include "IMB_iff.h" #include "IMB_bitplanes.h" @@ -115,6 +118,13 @@ short IMB_saveiff(struct ImBuf *ibuf, char *name, int flags) return imb_save_openexr(ibuf, name, flags); } #endif +/* not supported yet +#ifdef WITH_DDS + if (IS_dds(ibuf)) { + return imb_save_dds(ibuf, name, flags); + } +#endif +*/ if (IS_cineon(ibuf)) { return imb_savecineon(ibuf, name, flags); |