pyovr
pyovr copied to clipboard
Seg fault trying to create pyglet window
Hi there,
Trying to get pyovr to work with pyglet (we've got a lot of pyglet-dependent code and don't want to start again for pygame/glfw) and falling over at the first hurdle. Merely importing pyovr and then trying to configure a pyglet window causes a seg fault (no error message):
import pyglet
pyglet.options['debug_gl'] = False
GL = pyglet.gl
import ovr
from ovr.rift import Rift
config = GL.Config(depth_size=8, double_buffer=False, vsync=False) # crashes here
win = pyglet.window.Window(width=2160//2, height=1200//2, fullscreen=False, config=config)
Any idea why we'd be unable to create a pyglet window at all?