Add Color record struct, small refactor, create a DaggerFramework.SceneGraph namespace.

This commit is contained in:
2023-06-16 00:03:45 +02:00
parent 964b903500
commit 7d5c5f822b
25 changed files with 217 additions and 111 deletions

View File

@@ -36,7 +36,7 @@ namespace DaggerFramework.Rendering
public override void ClearBackground(Color color)
{
_gl.ClearColor(color);
_gl.ClearColor(color.ToSystemColor());
_gl.Clear((uint)ClearBufferMask.ColorBufferBit);
}