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've unfortunately hit the problem that fl_draw_image() on OS X behaves
very different from X11 or Windows. On the latter two the data is assumed
to be RGB (as documented) and the delta argument is just a memory layout
issue. On OS X though, it is assumed that the data is RGBA if the delta is
4. This means that code that works fine on X11 and Windows breaks in fun
and intersting ways on OS X.

I suggest changing the OS X code so that it is always assumed that there
is no alpha channel. This is how the other backends behave and is also how
fl_draw_image() is documented. The only place that mentions alpha is
Fl_RGB_Image, and that gives you consistent alpha behaviour for all
backends.


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