Added support for outputting bmp's
[blender.git] / source / blender / src / writeimage.c
index 2b49a0f6fda57136a2f3270d00b17e3631712f56..23ead94c22d7ccdaa222e268c3e96f669e461e86 100644 (file)
@@ -53,6 +53,9 @@ int BIF_write_ibuf(ImBuf *ibuf, char *name)
        else if ((R.r.imtype==R_PNG)) {
                ibuf->ftype= PNG;
        }
+       else if ((R.r.imtype==R_BMP)) {
+               ibuf->ftype= BMP;
+       }
        else if ((R.r.imtype==R_TARGA) || (R.r.imtype==R_PNG)) {
                // fall back to Targa if PNG writing is not supported
                ibuf->ftype= TGA;