Merge pull request #494 from Armada651/master Fix OpenGL video backend when using "render to main" on Windows.