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
Issue appears to start from a check in venv/lib/python3.11/site-packages/OpenGL/GL/VERSION/GL_2_0.py that gets the current context. If it is equal to 0, then an error is raised.
I found a few references on the internet to set some environment variables: PYOPENGL_PLATFORM=x11 and GDK_BACKEND=x11. These will change the platform from egl to glx but it does not change the error.
We are targeting the OpenGL API version 3.3.
I'm not sure I'm convinced that the GraphicsRenderer's call to SetContext() is actually doing anything... at least in Linux... 🤷
Findings so far:
venv/lib/python3.11/site-packages/OpenGL/GL/VERSION/GL_2_0.py
that gets the current context. If it is equal to 0, then an error is raised.PYOPENGL_PLATFORM=x11
andGDK_BACKEND=x11
. These will change the platform fromegl
toglx
but it does not change the error.SetContext()
is actually doing anything... at least in Linux... 🤷Related: #33
The text was updated successfully, but these errors were encountered: