replace ImBuf.depth with ImBuf.planes to match ImageFormatData.planes & to avoid...
[blender.git] / source / blender / imbuf / IMB_imbuf_types.h
index 59899dc74902ae816959744c85d7b673f5872edb..5ce3d63fe86079d32087da9106ef42eee4c470e8 100644 (file)
@@ -74,7 +74,7 @@ typedef struct ImBuf {
                                                         * but this is problematic with texture math in imagetexture.c
                                                         * avoid problems and use int. - campbell */
 
-       unsigned char depth;    /* Active amount of bits/bitplanes */
+       unsigned char planes;   /* Active amount of bits/bitplanes */
        int channels;                   /* amount of channels in rect_float (0 = 4 channel default) */
 
        /* flags */