remove redundant OpenGL version check to avoid NREs