Description
If a viewport adapter is initialized in the game1 constructor, the GraphicsDevice instance that it uses isn't instantiated yet, so it receives a null instance. The documentation already shows it correctly being done in the Game.Initialize method, but a note should be added to explain that's where to do it and why not to do it in the Game.ctor
Steps to Reproduce
none
Expected Behavior
none
Actual Behavior
none
Configuration
none
Other Information
Discovered from discord conversation: https://discord.com/channels/465739026700173312/509740842936696832/1482783806292361387
Description
If a viewport adapter is initialized in the game1 constructor, the GraphicsDevice instance that it uses isn't instantiated yet, so it receives a
nullinstance. The documentation already shows it correctly being done in theGame.Initializemethod, but a note should be added to explain that's where to do it and why not to do it in theGame.ctorSteps to Reproduce
none
Expected Behavior
none
Actual Behavior
none
Configuration
none
Other Information
Discovered from discord conversation: https://discord.com/channels/465739026700173312/509740842936696832/1482783806292361387