|
|
I now have a need to hide() a Fl_Gl_Window and then later show() it again.
The documentation appears to say that the OpenGL context is destroyed when the Fl_Gl_Window is hide()'ed.
When I try to show() the Fl_Gl_Window, I get a segfault in my draw() code that is called from Fl_Gl_Window::flush().
I think it is because I have not re-established the OpenGL context that was destroyed during the hide().
What kind of special care needs to be taken to be able to hide() / show() a Fl_Gl_Window?
Thanks for any help,
Rob
--
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 fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/9b35d09a-3484-40b7-b2f2-2e930751fa13n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |