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

[STR New]

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


At the start of function 'innards', the indexed variable is defined only if
USE_COLORMAP is defined as true.  If this is not the case, then the
compiler chokes at line 123:

static void innards(const uchar *buf, int X, int Y, int W, int H,
                    int delta, int linedelta, int depth,
                    Fl_Draw_Image_Cb cb, void* userdata)
{
#if USE_COLORMAP
  char indexed = (fl_palette != 0);
#endif

  if (depth==0) depth = 3;
  if (indexed || !fl_can_do_alpha_blending())   // <-- Compiler errors out
here as 'indexed' is undeclared.
    depth = (depth-1)|1;

Sorry about the lack of patch, but I don't understand the FL Color system
internals enough to correct this.

Thanks!


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

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

Reply via email to