Fixed build error.

This commit is contained in:
the_fiddler 2007-08-07 20:59:18 +00:00
parent 4497fcfc1b
commit 7287e5d5a4

View file

@ -256,7 +256,7 @@ namespace OpenTK.Platform.X11
uint mask = (uint)SetWindowValuemask.ColorMap | (uint)SetWindowValuemask.EventMask;
window.Handle = Functions.XCreateWindow(window.Display, /*window.RootWindow*/0,
window.Handle = Functions.XCreateWindow(window.Display, /*window.RootWindow*/IntPtr.Zero,
0, 0, mode.Width, mode.Height, 0, /*window.VisualInfo.depth*/(int)CreateWindowArgs.CopyFromParent,
(int)CreateWindowArgs.InputOutput, window.VisualInfo.visual, (UIntPtr)mask,
ref attributes);