Removed obsolete constructor.

This commit is contained in:
Jarl Gullberg 2017-06-20 15:09:01 +02:00
parent bac01afe00
commit 2d90e61fa5
No known key found for this signature in database
GPG key ID: 750FF6F6BDA72D23

View file

@ -97,15 +97,6 @@ namespace OpenTK.Graphics
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
#region Public Members