From 36e4909a1118e32431b46abf29ad1abd0c49b636 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 26 Jan 2008 10:28:19 +0000 Subject: [PATCH] XRRTimes parameter should be out, not ref. --- Source/OpenTK/Platform/X11/API.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/OpenTK/Platform/X11/API.cs b/Source/OpenTK/Platform/X11/API.cs index 5a31fd3f..89ea729a 100644 --- a/Source/OpenTK/Platform/X11/API.cs +++ b/Source/OpenTK/Platform/X11/API.cs @@ -1306,7 +1306,7 @@ XF86VidModeGetGammaRampSize( unsafe public static extern short* XRRConfigRates(XRRScreenConfiguration config, int size_index, int[] nrates); [DllImport(XrandrLibrary)] - public static extern SizeID XRRConfigCurrentConfiguration(XRRScreenConfiguration config, ref Rotation rotation); + public static extern SizeID XRRConfigCurrentConfiguration(XRRScreenConfiguration config, out Rotation rotation); [DllImport(XrandrLibrary)] public static extern short XRRConfigCurrentRate(XRRScreenConfiguration config); @@ -1385,7 +1385,7 @@ XF86VidModeGetGammaRampSize( } [DllImport(XrandrLibrary)] - public static extern Time XRRTimes(Display dpy, int screen, ref Time config_timestamp); + public static extern Time XRRTimes(Display dpy, int screen, out Time config_timestamp); #endregion