Ejemplo n.º 1
0
        protected internal virtual void BeginDraw()
        {
            Screen.SuspendBatch();
            mPreviousViewport = Screen.Game.GraphicsDevice.Viewport;

            Viewport viewport = new Viewport(LayoutRect);

            Screen.Game.GraphicsDevice.Viewport = viewport;
        }