public override void Draw(GameTime gameTime) { GameTime = gameTime; CCDrawManager.BeginDraw(); CCDirector.SharedDirector.MainLoop(gameTime); base.Draw(gameTime); CCDrawManager.EndDraw(); }
public override void Draw(GameTime gameTime) { GameTime = gameTime; // Begin measuring our Draw method //DebugSystem.Instance.TimeRuler.BeginMark("Draw", Color.Red); CCDrawManager.BeginDraw(); CCDirector.SharedDirector.MainLoop(gameTime); base.Draw(gameTime); CCDrawManager.EndDraw(); // End measuring our Draw method //DebugSystem.Instance.TimeRuler.EndMark("Draw"); }