Fixed issue with incorrect delegate signature.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user