XRRTimes parameter should be out, not ref.

This commit is contained in:
the_fiddler 2008-01-26 10:28:19 +00:00
parent 23b449b709
commit 58b9ddab66

View file

@ -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