Hello, > Why does the display class have to load the texture? > Why can't the GL widget load it?
Doing it my way, make the ressource sharing easiest... (in my case) But I found a nice solution, which is just to use as display function of my gl_widget a function of my main windows class. So I have access to all the main class variables, but the init is done in the draw of the OpenGl widget, it seems to work... Thanks again, Loic _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

