replace ImBuf.depth with ImBuf.planes to match ImageFormatData.planes & to avoid...
[blender.git] / source / blender / blenkernel / intern / bmfont.c
index aa0669903c5130db0dc885111978c4230cbefacc..0211dcdf42c067acff2d5f08cc5ccd7dc57b1052 100644 (file)
@@ -1,10 +1,4 @@
-/**
- * bmfont.c
- *
- * 04-10-2000 frank
- *
- * $Id$
- *
+/*
  * ***** BEGIN GPL LICENSE BLOCK *****
  *
  * This program is free software; you can redistribute it and/or
  *
  * The Original Code is: all of this file.
  *
- * Contributor(s): none yet.
+ * Contributor(s): 04-10-2000 frank.
  *
  * ***** END GPL LICENSE BLOCK *****
  *
  */
 
+/** \file blender/blenkernel/intern/bmfont.c
+ *  \ingroup bke
+ */
+
+
 /**
  * Two external functions:
  *
@@ -160,7 +159,7 @@ void readBitmapFontVersion0(ImBuf * ibuf, unsigned char * rect, int step)
                ibuf->userdata = bmfont;
                ibuf->userflags |= IB_BITMAPFONT;
 
-               if (ibuf->depth < 32) {
+               if (ibuf->planes < 32) {
                        // we're going to fake alpha here:
                        calcAlpha(ibuf);
                }