Add GL.BlendColor(System.Drawing.Color) overload.

This commit is contained in:
the_fiddler 2009-02-12 01:00:07 +00:00
parent 5dd73d813f
commit 5135a25828

View file

@ -659,6 +659,15 @@ namespace OpenTK.Graphics
#endregion
#region public static void BlendColor() overloads
public static void BlendColor(System.Drawing.Color color)
{
GL.BlendColor(color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f);
}
#endregion
#region --- Overloads for OpenTK.Math ---
public static void Normal3(Vector3 normal)