Empirically, I found that in XNA 4.0 I need to use
GraphicsDevice.Viewport.Width GraphicsDevice.Viewport.Height
when starting windowed mode when i find
GraphicsDevice.DisplayMode.Width GraphicsDevice.DisplayMode.Height
gives me the resolution of the whole screen.
Hope this helps someone else.
Eddie Parker Nov 10 2018-10-11 21:17
source share