This commit reverses the OpenEXR specific stuff in the OpenEXR commit I
[blender-staging.git] / source / blender / src / writeimage.c
index d16247a70b2fcf66e58e97c74073732a66d75321..0c0b716d2119bd841e97bd6c2e048ed4106f537a 100644 (file)
@@ -57,11 +57,6 @@ int BIF_write_ibuf(ImBuf *ibuf, char *name)
        else if ((G.scene->r.imtype==R_BMP)) {
                ibuf->ftype= BMP;
        }
-#ifdef WITH_OPENEXR
-       else if ((G.scene->r.imtype==R_OPENEXR)) {
-               ibuf->ftype= OPENEXR;
-       }
-#endif
        else if ((G.scene->r.imtype==R_TARGA) || (G.scene->r.imtype==R_PNG)) {
                // fall back to Targa if PNG writing is not supported
                ibuf->ftype= TGA;