Fixed build error.

This commit is contained in:
the_fiddler 2007-08-07 20:59:18 +00:00
parent d19466956b
commit 259fea275a

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);