]> Pileus Git - grits/blobdiff - examples/gl/gl.c
Update examples
[grits] / examples / gl / gl.c
index 378fd9a65ae884b1e72d7e81fa7ec98ee3f77ff7..ca7811f8493c1c488c2c37114fe22bbeb678e5d3 100644 (file)
@@ -98,7 +98,7 @@ gpointer setup(GtkWidget *widget)
                                GLX_DEPTH_SIZE,  1,
                                None};
        XVisualInfo *xvinfo  = glXChooseVisual(xdisplay, nscreen, attribs);
-       GLXContext   context = glXCreateContext(xdisplay, xvinfo, 0, False);
+       GLXContext   context = glXCreateContext(xdisplay, xvinfo, 0, True);
 
        /* Fix up colormap */
        GdkVisual   *visual  = gdk_x11_screen_lookup_visual(screen, xvinfo->visualid);