コード例 #1
0
ファイル: Game1.cs プロジェクト: Angeland/Monogame_JRPG_Base
 private void InitGraphicsMode()
 {
     DisplayOutputSettings.DisplayMode = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode;
     GraphicsSettings.SetPreferredBackBuffer(DisplayOutputSettings.ScreenWidth, DisplayOutputSettings.ScreenHeight);
     GraphicsSettings.SetFullscreen(DisplayOutputSettings.isFullScreen);
     GraphicsSettings.ApplyChanges();
 }