Added ClearColor(Color4) overload. Fixes issue [#1207]: "[GL] add Color4 argument overload for ClearColor".
This commit is contained in:
parent
69cfe6b56a
commit
9933bf4739
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue