diff --git a/SMCode/SM.Base/Window/GLWindow.cs b/SMCode/SM.Base/Window/GLWindow.cs index c4b49ad..43a55ff 100644 --- a/SMCode/SM.Base/Window/GLWindow.cs +++ b/SMCode/SM.Base/Window/GLWindow.cs @@ -309,10 +309,10 @@ namespace SM.Base.Window WindowState = WindowState.Maximized; WindowBorder = WindowBorder.Hidden; - X = Screen.PrimaryScreen.Bounds.Left; - Y = Screen.PrimaryScreen.Bounds.Top; - Width = Screen.PrimaryScreen.Bounds.Width; - Height = Screen.PrimaryScreen.Bounds.Height; + X = 0; + Y = 0; + Width = DisplayDevice.Default.Width; + Height = DisplayDevice.Default.Height; break; case WindowFlags.ExclusiveFullscreen: