mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 04:05:36 +00:00
XRRTimes parameter should be out, not ref.
This commit is contained in:
parent
9b3df7f7a6
commit
36e4909a11
|
@ -1306,7 +1306,7 @@ XF86VidModeGetGammaRampSize(
|
||||||
unsafe public static extern short* XRRConfigRates(XRRScreenConfiguration config, int size_index, int[] nrates);
|
unsafe public static extern short* XRRConfigRates(XRRScreenConfiguration config, int size_index, int[] nrates);
|
||||||
|
|
||||||
[DllImport(XrandrLibrary)]
|
[DllImport(XrandrLibrary)]
|
||||||
public static extern SizeID XRRConfigCurrentConfiguration(XRRScreenConfiguration config, ref Rotation rotation);
|
public static extern SizeID XRRConfigCurrentConfiguration(XRRScreenConfiguration config, out Rotation rotation);
|
||||||
|
|
||||||
[DllImport(XrandrLibrary)]
|
[DllImport(XrandrLibrary)]
|
||||||
public static extern short XRRConfigCurrentRate(XRRScreenConfiguration config);
|
public static extern short XRRConfigCurrentRate(XRRScreenConfiguration config);
|
||||||
|
@ -1385,7 +1385,7 @@ XF86VidModeGetGammaRampSize(
|
||||||
}
|
}
|
||||||
|
|
||||||
[DllImport(XrandrLibrary)]
|
[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
|
#endregion
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue