OpenGL.error.NullFunctionError: Attempt to call an undefined function glGenVertexArrays

北城余情 提交于 2020-04-07 05:37:38

 

 

OpenGL.error.NullFunctionError: Attempt to call an undefined function glGenVertexArrays

 

  File "D:\ProgramData\Miniconda3\lib\site-packages\pyrender\primitive.py", line 324, in _add_to_context
    self._vaid = glGenVertexArrays(1)
  File "src\latebind.pyx", line 39, in OpenGL_accelerate.latebind.LateBind.__call__
  File "src\wrapper.pyx", line 311, in OpenGL_accelerate.wrapper.Wrapper.__call__
  File "D:\ProgramData\Miniconda3\lib\site-packages\OpenGL\platform\baseplatform.py", line 425, in __call__
    self.__name__, self.__name__,
OpenGL.error.NullFunctionError: Attempt to call an undefined function glGenVertexArrays, check for bool(glGenVertexArrays) before calling
Error in sys.excepthook:

 

发布了2797 篇原创文章 · 获赞 1072 · 访问量 565万+
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!