This post should solve your problems:
http://mail.gnome.org/archives/gtkglext-list/2005-January/msg00012.html
Regards,
Jose.
On 10/11/2010 12:00, Staffan Gimaker wrote:
Hi,
What's the recommended way to create a *single* OpenGL context that can
be used for multiple widgets (in the same window)?
My current approach creates a context for the main window, containing
all the GL-capable widgets, and uses that context for all the widgets.
It works for my Linux box but messes up redrawing in XQuartz, and there
are mysterious crashes on other machines that I suspect are related to
this.
/Staffan
_______________________________________________
gtkglext-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkglext-list