No more calls besides glwin->show(); are necessary after a GL window was hidden.
The GL context is re-created by member function ::make_current() which is itself automatically called
by the normal event loop.
You can see that with test/fullscreen.cxx : replace line #154 therein
sw->mode(d ? Fl_Mode(FL_DOUBLE|FL_RGB) : FL_RGB);
if (d) sw->hide(); else sw->show();
and run this app. Use its "Double Buffered" button to hide and then re-show the GL panel.
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/a08ed139-27ca-47b2-9f01-28bcc3b0103dn%40googlegroups.com.
[ Direct Link to Message ]