From 613646b33e5fde13158a8d8644df8c97bdde2fbb Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 25 Jun 2007 19:50:25 +0000 Subject: This commit is a modified version of patch #6860 It adds read only dds support. (Writing will come later) Kent --- source/blender/imbuf/intern/writeimage.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source/blender/imbuf/intern/writeimage.c') 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); -- cgit v1.2.3