def _requires_gl_3(self):
        if self.major_version is not None and self.major_version >= 3:
            return True
        if self.forward_compatible or self.debug:
            return True
        return False
dataset/ETHPy150Open ardekantur/pyglet/pyglet/gl/base.py/Config._requires_gl_3/original