Remove some redundant code (OpenGL).
Make window resizing (ex_resize2) work on at least one particular
Intel chipset (Windows).
There was a logic error in the previous commit. SwapBuffer shouldn't be calle with a single buffered display