Fix OpenGL context cleanup on Windows.

Would crash at end of melt with qglsl.