How to implement "borderless fullscreen" on DesktopGL project?

Hi all,

I’ve chosen MonoGame for my latest game project and I started DesktopGL project with MonoGame 3.6.0.1060-develop.

I want to have both windowed and fullscreen modes but I don’t want “true fullscreen”, rather I’d like to have a borderless fullscreen mode but I’m not sure if this is currently possible with MonoGame. As far as I can see there is no way to maximize GameWindow and IsBorderless apparently works only on Windows?

Is there a way to make this behavior in DesktopGL proejct that would run on both Windows and Mac OSX?

Thanks!

Just set full screen like you normally would, but set GraphicsDeviceManager.HardwareModeSwitch to false.

3 Likes

That’s awesome! Thanks, works like a charm!

1 Like