private void GameView_DisplayModeChange(DisplayMode mode) { RenderSupport.DefaultProjectionState = new ProjectionState(ProjectionDescription.Orthogonal(0, 0, mode.Width, mode.Height)); _rasterContext = new RasterizerContext(RenderSupport.RasterizerStatesManager.ScissorDisableViewPortEnable); _rasterContext.ViewPort = ViewPort.CreateViewPort(0, 0, mode.Width, mode.Height, CoordinateSystem, AspectMode.LetterBox); ProjectionState projectionState = new ProjectionState(ProjectionDescription.Orthogonal(CoordinateSystem)); _touchTranslator.ViewPort = _rasterContext.ViewPort; _rootNode.RenderStates.ProjectionState = projectionState; _rootNode.RenderStates.RasterizerContext = _rasterContext; }