mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 20:15:31 +00:00
Added ClearColor(Color4) overload. Fixes issue [#1207]: "[GL] add Color4 argument overload for ClearColor".
This commit is contained in:
parent
bee2c0808a
commit
03f756f8d1
|
@ -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