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
my setup: pygame 2.5.2, PyOpenGL 3.1.7 Ubuntu 22.04.3 LTS (XDG_SESSION_TYPE="wayland")
running the pygame example 'glcube.py'
yields: "OpenGL.error.Error: Attempt to retrieve context when no valid context"
On my system the call ''platform.GetCurrentContext()" returns 0, which looks like a reasonable value, but is considered invalid in this line:
my setup: pygame 2.5.2, PyOpenGL 3.1.7 Ubuntu 22.04.3 LTS (XDG_SESSION_TYPE="wayland")
running the pygame example 'glcube.py'
yields: "OpenGL.error.Error: Attempt to retrieve context when no valid context"
On my system the call ''platform.GetCurrentContext()" returns 0, which looks like a reasonable value, but is considered invalid in this line:
pyopengl/OpenGL/contextdata.py
Line 38 in 29b79e8
If i comment out the check, the example works. So maybe the check is too strict? (should check for None instead of 0?)
see also pygame/pygame#3110
The text was updated successfully, but these errors were encountered: