//---------------------------------------------------------------------- protected internal virtual void EndDraw() { Screen.Game.GraphicsDevice.Viewport = mPreviousViewport; Screen.ResumeBatch(); }