You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the provided test script "integrations_glfw3.py", I met the following error.
I use PyOpenGL=3.1.7, imgui=2.0.0 on Ubuntu22.04
File "pyimgui/doc/examples/integrations_glfw3.py", line 89, in
main()
File "pyimgui/doc/examples/integrations_glfw3.py", line 15, in main
impl = GlfwRenderer(window)
File "/home/gaps-sccg/anaconda3/envs/imgui/lib/python3.7/site-packages/imgui/integrations/glfw.py", line 13, in init
super(GlfwRenderer, self).init()
File "/home/gaps-sccg/anaconda3/envs/imgui/lib/python3.7/site-packages/imgui/integrations/opengl.py", line 60, in init
super(ProgrammablePipelineRenderer, self).init()
File "/home/gaps-sccg/anaconda3/envs/imgui/lib/python3.7/site-packages/imgui/integrations/base.py", line 17, in init
self._create_device_objects()
File "/home/gaps-sccg/anaconda3/envs/imgui/lib/python3.7/site-packages/imgui/integrations/opengl.py", line 125, in _create_device_objects
gl.glVertexAttribPointer(self._attrib_location_position, 2, gl.GL_FLOAT, gl.GL_FALSE, imgui.VERTEX_SIZE, ctypes.c_void_p(imgui.VERTEX_BUFFER_POS_OFFSET))
File "/home/gaps-sccg/anaconda3/envs/imgui/lib/python3.7/site-packages/OpenGL/latebind.py", line 61, in call
return self.wrapperFunction( self.baseFunction, *args, **named )
File "/home/gaps-sccg/anaconda3/envs/imgui/lib/python3.7/site-packages/OpenGL/GL/VERSION/GL_2_0.py", line 426, in glVertexAttribPointer
contextdata.setValue( key, array )
File "/home/gaps-sccg/anaconda3/envs/imgui/lib/python3.7/site-packages/OpenGL/contextdata.py", line 65, in setValue
current = storage.get( context )
File "/home/gaps-sccg/anaconda3/envs/imgui/lib/python3.7/site-packages/OpenGL/_opaque.py", line 20, in hash
return self.address
File "/home/gaps-sccg/anaconda3/envs/imgui/lib/python3.7/site-packages/OpenGL/_opaque.py", line 14, in address
return ctypes.addressof( self.contents )
ValueError: NULL pointer access
52B6
The text was updated successfully, but these errors were encountered:
When I run the provided test script "integrations_glfw3.py", I met the following error.
I use PyOpenGL=3.1.7, imgui=2.0.0 on Ubuntu22.04
The text was updated successfully, but these errors were encountered: