From 259fea275ab95454deb14f602f222d7207d4c048 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 7 Aug 2007 20:59:18 +0000 Subject: [PATCH] Fixed build error. --- Source/OpenTK/Platform/X11/X11GLNative.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/Platform/X11/X11GLNative.cs b/Source/OpenTK/Platform/X11/X11GLNative.cs index 322c34ff..acf04341 100644 --- a/Source/OpenTK/Platform/X11/X11GLNative.cs +++ b/Source/OpenTK/Platform/X11/X11GLNative.cs @@ -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);