From 7d37c2e68f273fda3d03671bbe15377ca7ef87c6 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Tue, 11 Aug 2009 21:15:29 +0000 Subject: [PATCH] Missed part of the refactored X11 bindings. --- Source/OpenTK/Platform/Utilities.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/OpenTK/Platform/Utilities.cs b/Source/OpenTK/Platform/Utilities.cs index be574440..15a39bb1 100644 --- a/Source/OpenTK/Platform/Utilities.cs +++ b/Source/OpenTK/Platform/Utilities.cs @@ -321,16 +321,16 @@ namespace OpenTK.Platform // get the X11 Visual info for the display. Platform.X11.XVisualInfo info = new Platform.X11.XVisualInfo(); - info.visualid = mode.Index; + info.VisualID = mode.Index; int dummy; window.VisualInfo = (Platform.X11.XVisualInfo)Marshal.PtrToStructure( Platform.X11.Functions.XGetVisualInfo(window.Display, Platform.X11.XVisualInfoMask.ID, ref info, out dummy), typeof(Platform.X11.XVisualInfo)); // set the X11 colormap. - SetStaticFieldValue(xplatui, "CustomVisual", window.VisualInfo.visual); + SetStaticFieldValue(xplatui, "CustomVisual", window.VisualInfo.Visual); SetStaticFieldValue(xplatui, "CustomColormap", - Platform.X11.Functions.XCreateColormap(window.Display, window.RootWindow, window.VisualInfo.visual, 0)); + Platform.X11.Functions.XCreateColormap(window.Display, window.RootWindow, window.VisualInfo.Visual, 0)); return window; }