mono/MonoGame — pull request #696 by elisee (2012-08-20 22:52:02+00:00)
Title: Fix Y inversion in  GraphicsDevice.Viewport setter for OpenGL

The Y axis is inverted when setting the viewport on OpenGL platforms because the params differ from the DirectX calls. The Y-inversion is already done on the ScissorRectangle but was missing from the Viewport setter. (This should fix #636 too)

As a side note, I still encounter many issues with window resizing:
* initial size ignored on Linux
* maximizing the window not properly updating viewports
* no ability to set a minimum window size like with Windows.Forms
* when releasing the mouse button after resizing the window on Windows, it only increases the window's bounds by a few pixels (this one appeared only recently)

I guess most games don't use resizable windows so this goes unnoticed most of the time. I'll try to fix as much as I can when I get around to it.