put name of gl version in the rendering function

this helps communicating with which opengl version we are dealing with