mono/MonoGame — pull request #331 by sdancer (2012-03-01 03:45:40+00:00)
Title: Fix resolution change to properly scale and preserve aspect ratio.

Note: I use SpriteBatch very little so this might break some things in SpriteBatch.

This prevents the screen from stretching. So, if the resolution set is 4:3 resolution and you are using landscape, there will be 2 black bars on each side and the picture will be centered while preserving the aspect ratio. This should also work in portrait mode but have not tested it. This is how WP7 works.