Add explanatory comment.
authorJarl Gullberg <jarl.gullberg@gmail.com>
Fri, 15 Sep 2017 10:57:28 +0000 (12:57 +0200)
committerJarl Gullberg <jarl.gullberg@gmail.com>
Fri, 15 Sep 2017 10:57:28 +0000 (12:57 +0200)
src/OpenTK.GLWidget/X11/XWindowInfoInitializer.cs

index 2c04789..cc9ec9f 100644 (file)
@@ -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;