replace ImBuf.depth with ImBuf.planes to match ImageFormatData.planes & to avoid confusion with ImageFormatData.depth
This commit is contained in:
@@ -171,7 +171,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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user