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

 

 

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:

 

你可能感兴趣的:(opengl)