fixed OpenGL 2.0 window creation