Mike wrote:
> int main(int argc, char **argv) {
>   Fl_Single_Window *w;
> 
>   fl_register_images();
> 
>   pimg = new Fl_PNG_Image(argv[1]);
> 
>   w = make_window();
> 
>   Fl::visual(FL_RGB);
> 
>   w->show();
>   return Fl::run();
> }

        Not sure if this is the problem, but try moving the Fl::visual(FL_RGB);
        to the top of main(), or at least above the other FLTK related calls.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to