Made fullscreen borderless

This commit is contained in:
JappaWakka 2024-03-28 20:12:47 +01:00
parent 49d1c6c73e
commit f1c1558c28

View File

@ -121,6 +121,7 @@
End Sub
Private Shared Sub ToggleFullScreen()
Core.GraphicsManager.HardwareModeSwitch = False
If Core.GraphicsManager.IsFullScreen = False Then
' MonoGame Bug > GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width != System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width
' MonoGame Bug > GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height != System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height