Oh well, it seems I figured it out. When I read "pointer to array", I was thinking of a pointer to the first element of the array, but it's actually a pointer to the pointer of the first element of the array.
Using *png.data() fixed it, sorry about cluttering the forum. :) _______________________________________________ fltk-opengl mailing list fltk-opengl@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-opengl