Fixed issue with incorrect delegate signature.

This commit is contained in:
2020-06-01 16:31:56 -05:00
parent e59e78e08c
commit 484dbbece3
11 changed files with 227 additions and 130 deletions

View File

@@ -1,6 +1,8 @@
using System;
using SlatedGameToolkit.Framework.Graphics.Programs;
using SlatedGameToolkit.Framework.Graphics.Render;
using SlatedGameToolkit.Framework.Graphics.Shaders;
using SlatedGameToolkit.Framework.Graphics.Textures;
using SlatedGameToolkit.Framework.Graphics.Window;
using SlatedGameToolkit.Framework.StateSystem;
using SlatedGameToolkit.Framework.StateSystem.States;
@@ -10,6 +12,8 @@ namespace SlatedGameToolkit.Tools.Utilities.GraphicalPlayground
public class MainState : IState
{
private WindowContext window;
private Renderer renderer;
private Sprite2D sprite;
public WindowContext CurrentWindow { get { return window;}}
@@ -36,7 +40,7 @@ namespace SlatedGameToolkit.Tools.Utilities.GraphicalPlayground
public void Initialize(Manager manager)
{
window = new WindowContext("SlatedGameToolkit Playground");
window.RaiseToTop();
renderer = new Renderer();
}
public void Render(double delta)