mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 07:44:31 +02:00
Made fullscreen borderless
This commit is contained in:
parent
49d1c6c73e
commit
f1c1558c28
@ -121,6 +121,7 @@
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Shared Sub ToggleFullScreen()
|
Private Shared Sub ToggleFullScreen()
|
||||||
|
Core.GraphicsManager.HardwareModeSwitch = False
|
||||||
If Core.GraphicsManager.IsFullScreen = False Then
|
If Core.GraphicsManager.IsFullScreen = False Then
|
||||||
' MonoGame Bug > GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width != System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width
|
' 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
|
' MonoGame Bug > GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height != System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height
|
||||||
|
Loading…
x
Reference in New Issue
Block a user