diff --git a/src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs b/src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs index 2c047893..cc9ec9fe 100644 --- a/src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs +++ b/src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs @@ -39,6 +39,7 @@ namespace OpenTK.X11 IntPtr rootWindowXid = gdk_x11_drawable_get_xid(gdkRootWindowHandle); #endif + // No visual needs to be passed here, since we're piggybacking on the GdkGLContext from the base GLArea IWindowInfo retval = Utilities.CreateX11WindowInfo(display, screenNumber, windowXid, rootWindowXid, IntPtr.Zero); return retval;