add glWindow to create an OpenGL context