mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-03 18:45:28 +00:00
Correct semicolon spacing in OpenTK.
This commit is contained in:
parent
75f23590c8
commit
3654fa4107
|
@ -122,7 +122,7 @@ namespace OpenTK.Audio.OpenAL
|
||||||
|
|
||||||
output.Gain = 0.32f; // todo, currently default
|
output.Gain = 0.32f; // todo, currently default
|
||||||
output.GainHF = 0.89f; // todo, currently default
|
output.GainHF = 0.89f; // todo, currently default
|
||||||
output.GainLF = 1f;// todo, currently default
|
output.GainLF = 1f; // todo, currently default
|
||||||
|
|
||||||
output.LFReference = input.LFReference;
|
output.LFReference = input.LFReference;
|
||||||
output.HFReference = input.HFReference;
|
output.HFReference = input.HFReference;
|
||||||
|
|
|
@ -216,7 +216,7 @@ namespace OpenTK.Input
|
||||||
case 1: position = HatPosition.Up; break;
|
case 1: position = HatPosition.Up; break;
|
||||||
case 2: position = HatPosition.Right; break;
|
case 2: position = HatPosition.Right; break;
|
||||||
case 3: position = HatPosition.UpRight; break;
|
case 3: position = HatPosition.UpRight; break;
|
||||||
case 4: position = HatPosition.Down ; break;
|
case 4: position = HatPosition.Down; break;
|
||||||
case 6: position = HatPosition.DownRight; break;
|
case 6: position = HatPosition.DownRight; break;
|
||||||
case 8: position = HatPosition.Left; break;
|
case 8: position = HatPosition.Left; break;
|
||||||
case 9: position = HatPosition.UpLeft; break;
|
case 9: position = HatPosition.UpLeft; break;
|
||||||
|
|
|
@ -829,8 +829,8 @@ namespace OpenTK
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
event EventHandler<KeyPressEventArgs> INativeWindow.KeyPress {
|
event EventHandler<KeyPressEventArgs> INativeWindow.KeyPress {
|
||||||
add { throw new NotSupportedException ();}
|
add { throw new NotSupportedException (); }
|
||||||
remove { throw new NotSupportedException ();}
|
remove { throw new NotSupportedException (); }
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual int Width {
|
public virtual int Width {
|
||||||
|
|
|
@ -1165,7 +1165,7 @@ namespace OpenTK.Platform.MacOS
|
||||||
[DllImport(hid)]
|
[DllImport(hid)]
|
||||||
public static extern IOReturn IOHIDManagerOpen(
|
public static extern IOReturn IOHIDManagerOpen(
|
||||||
IOHIDManagerRef manager,
|
IOHIDManagerRef manager,
|
||||||
IOOptionBits options) ;
|
IOOptionBits options);
|
||||||
|
|
||||||
[DllImport(hid)]
|
[DllImport(hid)]
|
||||||
public static extern IOReturn IOHIDDeviceOpen(
|
public static extern IOReturn IOHIDDeviceOpen(
|
||||||
|
@ -1234,7 +1234,7 @@ namespace OpenTK.Platform.MacOS
|
||||||
[DllImport(hid)]
|
[DllImport(hid)]
|
||||||
public static extern double IOHIDValueGetScaledValue(
|
public static extern double IOHIDValueGetScaledValue(
|
||||||
IOHIDValueRef @value,
|
IOHIDValueRef @value,
|
||||||
IOHIDValueScaleType type) ;
|
IOHIDValueScaleType type);
|
||||||
|
|
||||||
[DllImport(hid)]
|
[DllImport(hid)]
|
||||||
public static extern IOHIDElementType IOHIDElementGetType(
|
public static extern IOHIDElementType IOHIDElementGetType(
|
||||||
|
|
|
@ -379,7 +379,7 @@ namespace OpenTK.Platform.X11
|
||||||
|
|
||||||
private byte nhsync; /* Number of horiz sync ranges */
|
private byte nhsync; /* Number of horiz sync ranges */
|
||||||
/*XF86VidModeSyncRange* */
|
/*XF86VidModeSyncRange* */
|
||||||
private IntPtr hsync;/* Horizontal sync ranges */
|
private IntPtr hsync; /* Horizontal sync ranges */
|
||||||
|
|
||||||
private byte nvsync; /* Number of vert sync ranges */
|
private byte nvsync; /* Number of vert sync ranges */
|
||||||
/*XF86VidModeSyncRange* */
|
/*XF86VidModeSyncRange* */
|
||||||
|
@ -1467,7 +1467,7 @@ XF86VidModeGetGammaRampSize(
|
||||||
{
|
{
|
||||||
//ptr = XRRSizes(dpy, screen, &nsizes);
|
//ptr = XRRSizes(dpy, screen, &nsizes);
|
||||||
|
|
||||||
byte* data = (byte*)XRRSizes(dpy, screen, &count);//(byte*)ptr;
|
byte* data = (byte*)XRRSizes(dpy, screen, &count); //(byte*)ptr;
|
||||||
if (count == 0)
|
if (count == 0)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue