# To subscribers of the xforms list from email@example.com :
> A call to fl_winclose does not seem to be sufficient to close AND destroy
> a window opened with fl_glwncreate (i.e. a GL win).
> Actually, fl_winclose does not free the whole memory allocated by
> glwincreate - so that successive (open/close) create a kind of memory
> Is there a specific routine in XFORMS to destroy GL wins ?
The only extra items created are the GLXContext and a Colormap.
You should destroy the GLXContext with the OpenGL call
The Colormap may be destroyed with XFreeColormap():
XGetWindowAttributes( fl_get_display(), w, &attrs );
XFreeColormap( fl_get_display(), attrs.colormap );
To unsubscribe, send the message "unsubscribe" to
firstname.lastname@example.org or see
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Wed Jun 27 2001 - 10:57:53 EDT