From e6e2764c55c109f42b1a1cd11a095aac63ab2a36 Mon Sep 17 00:00:00 2001 From: Jarl Gullberg Date: Fri, 15 Sep 2017 12:57:28 +0200 Subject: [PATCH] Add explanatory comment. --- src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs | 1 + 1 file changed, 1 insertion(+) 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;