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

2020/04/06 09:36
阅读数 2.5K

 

 

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万+
展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部