windows: msbuild gets completely confused when the 'Platform' envvar is set.

Change-Id: Iea04859c6afa203bd6b527b99c680ff4176cf9e1
opengl: Do not check for OpenGL errors in a loop.

Can lead to an infinite loop.

Change-Id: I09863959719115aec23534ac72a9a9690af3aeb9
windows: Improve logging.

Change-Id: I15e6d240b3c94af07e9b39cc16efb581869729f2
windows opengl: Setup the VirtualDevice so that SetPixelFormat succeeds.

Without this, I'm getting a strange 0xc0070006 error from SetPixelFormat.

Change-Id: I6df6168a7d29d59272849e177a8e463fa5cef807