created a openglcontext