Added checks for the OpenGL Version