Update TestGame.
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
using Voile;
|
using Voile;
|
||||||
using Voile.Rendering;
|
|
||||||
using Voile.Audio;
|
using Voile.Audio;
|
||||||
using Voile.Resources;
|
using Voile.Resources;
|
||||||
using Voile.SceneGraph;
|
using Voile.SceneGraph;
|
||||||
@@ -63,7 +62,7 @@ public class TestGame : Game
|
|||||||
|
|
||||||
protected override void Run()
|
protected override void Run()
|
||||||
{
|
{
|
||||||
while (_scene.ShouldRun)
|
while (_scene!.ShouldRun)
|
||||||
{
|
{
|
||||||
_scene.Update();
|
_scene.Update();
|
||||||
_scene.BeginDraw();
|
_scene.BeginDraw();
|
||||||
|
|||||||
Reference in New Issue
Block a user