use GLSL version 110 if the OpenGL major version is <= 2