DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2583
Version: 1.3-current


I agree with Manolo. FLTK is a platform abstraction layer. Therefore the
most important thing should be consistent behaviour across platforms (to
the extent possible).

Removing the alpha support from Mac is a lot easier than adding it to the
others, so it should be the preferred choice. There is also the fact that
Fl_RGB_Image handles alpha, meaning that fl_draw_image() probably
shouldn't so that you have the choice. If both mandate alpha then you have
to add a lot of wasteful CPU cycles making sure your input data has 0xff in
the fourth byte.

I can verify that the patch solves the issue here.

(Nitpick: kCGImageAlphaNone and kCGImageAlphaNoneSkipLast mean the same
thing, so the test there could be removed. :))


Link: http://www.fltk.org/str.php?L2583
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to