This commit reverses the OpenEXR specific stuff in the OpenEXR commit I
[blender-staging.git] / source / blender / imbuf / intern / writeimage.c
index 925eaca3e8767b16121fb2909367e00f66eee0df..150ab8aac26c8f69d6c8e41b089b1a9d0d3c726f 100644 (file)
@@ -50,9 +50,6 @@
 #include "IMB_amiga.h"
 #include "IMB_png.h"
 #include "IMB_bmp.h"
-#ifdef WITH_OPENEXR
-#include "IMB_openexr.h"
-#endif
 
 #include "IMB_iff.h"
 #include "IMB_bitplanes.h"
@@ -73,11 +70,6 @@ short IMB_saveiff(struct ImBuf *ibuf,char *naam,int flags)
        if (IS_png(ibuf)) {
                return imb_savepng(ibuf,naam,flags);
        }
-#ifdef WITH_OPENEXR
-       if (IS_openexr(ibuf)) {
-               return imb_save_openexr(ibuf,naam,flags);
-       }
-#endif
        if (IS_bmp(ibuf)) {
                return imb_savebmp(ibuf,naam,flags);
        }