This fixes an OpenGL error with some graphics driver such as the open
source Intel drivers.
XVisualInfo *xvinfo = glXChooseVisual(xdisplay, nscreen, attribs);
if (!xvinfo)
g_error("GtkGl: enable - unable to get valid OpenGL Visual");
- GLXContext context = glXCreateContext(xdisplay, xvinfo, NULL, False);
+ GLXContext context = glXCreateContext(xdisplay, xvinfo, NULL, True);
g_object_set_data(G_OBJECT(widget), "glcontext", context);
/* Fix up colormap */