Hello there community,
Windows 8.1 64-bit, VS2013
So I have problems getting my game to run in fullscreen mode similar to the problem below
http://community.monogame.net/t/problem-on-windows-8-1-with-fullscreen-desktop-app/391
Here’s a part of my code, the standard trying to get fullscreen code…
int screenWidth = 640;
int screenHeight = 480;
public Game1(): base()
{
graphics = new GraphicsDeviceManager(this);
graphics.PreferredBackBufferWidth = screenWidth;
graphics.PreferredBackBufferHeight = screenHeight;
graphics.IsFullScreen = true;
graphics.ApplyChanges();
Content.RootDirectory = “Content”;
}
But always after I do graphics.ApplyChanges(); I get graphics.IsFullScreen back to false for some reason, I see this using Console.WriteLine(graphics.isFullScreen); I also tried to modify my code with graphics.fullScreenToggle(); but it didn’t work either, always after I do graphics.ApplyChanges(); it somehow defaults back to false. Is there any reason to why this is happening?
This of course doesn’t keep from programming my game, but it’s pretty weird that I can’t go fullscreen, Alt+Enter just goes fullscreen for like a frame (blank/black screen) and then goes back to my 640x480 window.