def _check_error(self, where):
        err = gl.glGetError()
        if err:
            err = self._known_errors.get(err, str(err))
            print('OpenGL error %s (%s)' % (where, err))
dataset/ETHPy150Open zoofIO/flexx/flexx/lui/tex.py/Tex._check_error/original