switch to opengl3 context