mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-23 19:31:13 +00:00
Add GL.BlendColor(System.Drawing.Color) overload.
This commit is contained in:
parent
5dd73d813f
commit
5135a25828
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue