File "C:\Users\GuillaumeDev\anaconda3\envs\yokai\lib\site-packages\pyrender\offscreen.py", line 113, in render
self._platform.make_uncurrent()
File "C:\Users\GuillaumeDev\anaconda3\envs\yokai\lib\site-packages\pyrender\platforms\pyglet_platform.py", line 54, in make_uncurrent
pyglet.gl.xlib.glx.glXMakeContextCurrent(self._window.context.x_display, 0, 0, None)
AttributeError: module 'pyglet.gl' has no attribute 'xlib'
This PR use xlib if it actually exists and may fallback to wgl if found.
Offscreen rendering fails on Windows:
File "C:\Users\GuillaumeDev\anaconda3\envs\yokai\lib\site-packages\pyrender\offscreen.py", line 113, in render self._platform.make_uncurrent() File "C:\Users\GuillaumeDev\anaconda3\envs\yokai\lib\site-packages\pyrender\platforms\pyglet_platform.py", line 54, in make_uncurrent pyglet.gl.xlib.glx.glXMakeContextCurrent(self._window.context.x_display, 0, 0, None) AttributeError: module 'pyglet.gl' has no attribute 'xlib'
This PR use xlib if it actually exists and may fallback to wgl if found.