mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-03 18:58:15 +00:00
Removed obsolete constructor.
This commit is contained in:
parent
bac01afe00
commit
2d90e61fa5
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
// of this software and associated documentation files (the "Software"), to deal
|
// of this software and associated documentation files (the "Software"), to deal
|
||||||
// in the Software without restriction, including without limitation the rights to
|
// in the Software without restriction, including without limitation the rights to
|
||||||
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
// the Software, and to permit persons to whom the Software is furnished to do
|
// the Software, and to permit persons to whom the Software is furnished to do
|
||||||
// so, subject to the following conditions:
|
// so, subject to the following conditions:
|
||||||
|
@ -47,17 +47,17 @@ namespace OpenTK.Graphics
|
||||||
/// The red component of this Color4 structure.
|
/// The red component of this Color4 structure.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public float R;
|
public float R;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The green component of this Color4 structure.
|
/// The green component of this Color4 structure.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public float G;
|
public float G;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The blue component of this Color4 structure.
|
/// The blue component of this Color4 structure.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public float B;
|
public float B;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The alpha component of this Color4 structure.
|
/// The alpha component of this Color4 structure.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -97,15 +97,6 @@ namespace OpenTK.Graphics
|
||||||
A = a / (float)Byte.MaxValue;
|
A = a / (float)Byte.MaxValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Constructs a new Color4 structure from the specified System.Drawing.Color.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="color">The System.Drawing.Color containing the component values.</param>
|
|
||||||
[Obsolete("Use new Color4(r, g, b, a) instead.")]
|
|
||||||
public Color4(Color color)
|
|
||||||
: this(color.R, color.G, color.B, color.A)
|
|
||||||
{ }
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Public Members
|
#region Public Members
|
||||||
|
@ -1276,7 +1267,7 @@ namespace OpenTK.Graphics
|
||||||
return new Vector4(x, y, z, rgb.A);
|
return new Vector4(x, y, z, rgb.A);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region YUV
|
#region YUV
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue