I set the width and height of the window in my game constructor, and then pass the graphics manager to a class to check the value. In the game's initialize function, it doesn't seem to recognize the new width and height values, so it uses the default.
Here's relevant code:
graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = 1600; graphics.PreferredBackBufferHeight = 900; Content.RootDirectory = "Content"; World = new TestWorld(Content, graphics);
The TestWorld Initialize outputs the default (800).
I have tried graphics.ApplyChanges(), but it does not resolve the issue.