Add separate methods for beginning and ending drawing for Scene.
This commit is contained in:
@@ -76,6 +76,8 @@ public class TestGame : Game
|
||||
while (_scene.ShouldRun)
|
||||
{
|
||||
_scene.Update();
|
||||
_scene.BeginDraw();
|
||||
_scene.EndDraw();
|
||||
|
||||
double frameTimeMs = _renderer.FrameTime * 1000f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user