mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-22 20:35:35 +00:00
Merge pull request #619 from Nihlus/cleanup-8-semicolon-spacing
[Cleanup] Semicolon spacing
This commit is contained in:
commit
fc98b8ea4d
|
@ -110,7 +110,7 @@ namespace Bind
|
|||
}
|
||||
|
||||
// New enums namespace (don't use a nested class).
|
||||
public string EnumsNamespace = null;// = "Enums";
|
||||
public string EnumsNamespace = null; // = "Enums";
|
||||
|
||||
public string DelegatesClass = "Delegates";
|
||||
public string ImportsClass = "Core";
|
||||
|
|
|
@ -125,16 +125,16 @@ namespace OpenTK.X11
|
|||
//attributeList.Add(Buffers);
|
||||
|
||||
attributeList.Add((int)GLXAttribute.ACCUM_RED_SIZE);
|
||||
attributeList.Add(mode.AccumulatorFormat.Red / 4);// TODO support 16-bit
|
||||
attributeList.Add(mode.AccumulatorFormat.Red / 4); // TODO support 16-bit
|
||||
|
||||
attributeList.Add((int)GLXAttribute.ACCUM_GREEN_SIZE);
|
||||
attributeList.Add(mode.AccumulatorFormat.Green / 4);// TODO support 16-bit
|
||||
attributeList.Add(mode.AccumulatorFormat.Green / 4); // TODO support 16-bit
|
||||
|
||||
attributeList.Add((int)GLXAttribute.ACCUM_BLUE_SIZE);
|
||||
attributeList.Add(mode.AccumulatorFormat.Blue / 4);// TODO support 16-bit
|
||||
attributeList.Add(mode.AccumulatorFormat.Blue / 4); // TODO support 16-bit
|
||||
|
||||
attributeList.Add((int)GLXAttribute.ACCUM_ALPHA_SIZE);
|
||||
attributeList.Add(mode.AccumulatorFormat.Alpha / 4);// TODO support 16-bit
|
||||
attributeList.Add(mode.AccumulatorFormat.Alpha / 4); // TODO support 16-bit
|
||||
|
||||
attributeList.Add((int)GLXAttribute.NONE);
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ namespace OpenTK.Audio.OpenAL
|
|||
|
||||
output.Gain = 0.32f; // 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.HFReference = input.HFReference;
|
||||
|
|
|
@ -216,7 +216,7 @@ namespace OpenTK.Input
|
|||
case 1: position = HatPosition.Up; break;
|
||||
case 2: position = HatPosition.Right; 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 8: position = HatPosition.Left; break;
|
||||
case 9: position = HatPosition.UpLeft; break;
|
||||
|
|
|
@ -829,8 +829,8 @@ namespace OpenTK
|
|||
/// </para>
|
||||
/// </remarks>
|
||||
event EventHandler<KeyPressEventArgs> INativeWindow.KeyPress {
|
||||
add { throw new NotSupportedException ();}
|
||||
remove { throw new NotSupportedException ();}
|
||||
add { throw new NotSupportedException (); }
|
||||
remove { throw new NotSupportedException (); }
|
||||
}
|
||||
|
||||
public virtual int Width {
|
||||
|
|
|
@ -1165,7 +1165,7 @@ namespace OpenTK.Platform.MacOS
|
|||
[DllImport(hid)]
|
||||
public static extern IOReturn IOHIDManagerOpen(
|
||||
IOHIDManagerRef manager,
|
||||
IOOptionBits options) ;
|
||||
IOOptionBits options);
|
||||
|
||||
[DllImport(hid)]
|
||||
public static extern IOReturn IOHIDDeviceOpen(
|
||||
|
@ -1234,7 +1234,7 @@ namespace OpenTK.Platform.MacOS
|
|||
[DllImport(hid)]
|
||||
public static extern double IOHIDValueGetScaledValue(
|
||||
IOHIDValueRef @value,
|
||||
IOHIDValueScaleType type) ;
|
||||
IOHIDValueScaleType type);
|
||||
|
||||
[DllImport(hid)]
|
||||
public static extern IOHIDElementType IOHIDElementGetType(
|
||||
|
|
|
@ -379,11 +379,11 @@ namespace OpenTK.Platform.X11
|
|||
|
||||
private byte nhsync; /* Number of horiz sync ranges */
|
||||
/*XF86VidModeSyncRange* */
|
||||
private IntPtr hsync;/* Horizontal sync ranges */
|
||||
private IntPtr hsync; /* Horizontal sync ranges */
|
||||
|
||||
private byte nvsync; /* Number of vert sync ranges */
|
||||
/*XF86VidModeSyncRange* */
|
||||
private IntPtr vsync;/* Vertical sync ranges */
|
||||
private IntPtr vsync; /* Vertical sync ranges */
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
|
@ -1467,7 +1467,7 @@ XF86VidModeGetGammaRampSize(
|
|||
{
|
||||
//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)
|
||||
{
|
||||
return null;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<!-- Spacing rules -->
|
||||
<Rule Id="SA1000" Action="Error" /> <!-- Keywords must be spaced correctly -->
|
||||
<Rule Id="SA1001" Action="Error" /> <!-- Commas must be spaced correctly -->
|
||||
<Rule Id="SA1002" Action="None" /> <!-- Semicolons must be spaced correctly -->
|
||||
<Rule Id="SA1002" Action="Error" /> <!-- Semicolons must be spaced correctly -->
|
||||
<Rule Id="SA1003" Action="None" /> <!-- Symbols must be spaced correctly -->
|
||||
<Rule Id="SA1004" Action="None" /> <!-- Documentation lines must begin with single space -->
|
||||
<Rule Id="SA1005" Action="None" /> <!-- Single line comments must begin with single space -->
|
||||
|
|
Loading…
Reference in a new issue