Added ClearColor(Color4) overload. Fixes issue [#1207]: "[GL] add Color4 argument overload for ClearColor".

This commit is contained in:
the_fiddler 2009-10-06 08:03:53 +00:00
parent bee2c0808a
commit 03f756f8d1

View file

@ -404,6 +404,11 @@ namespace OpenTK.Graphics.OpenGL
GL.ClearColor(color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f);
}
public static void ClearColor(Color4 color)
{
GL.ClearColor(color.R, color.G, color.B, color.A);
}
#endregion
#region public static void BlendColor() overloads