Add explanatory comment.

This commit is contained in:
Jarl Gullberg 2017-09-15 12:57:28 +02:00
parent 4089de86a5
commit e6e2764c55
No known key found for this signature in database
GPG key ID: FBB69BD7CAE095A0

View file

@ -39,6 +39,7 @@ namespace OpenTK.X11
IntPtr rootWindowXid = gdk_x11_drawable_get_xid(gdkRootWindowHandle); IntPtr rootWindowXid = gdk_x11_drawable_get_xid(gdkRootWindowHandle);
#endif #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); IWindowInfo retval = Utilities.CreateX11WindowInfo(display, screenNumber, windowXid, rootWindowXid, IntPtr.Zero);
return retval; return retval;