Wayland: Cannot draw OpenGL widget beyond window borders (cannot put it inside a viewport) #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a bug that I'm encountering as I'm finally fixing the Wayland port and it's an obscure enough use case (yet one that shows up in the demos) that I'll just leave it here for posterity and fix it later.
Putting an OpenGL widget inside a viewport (as seen in the tripaint demo) results in undefined behavior because there's some weird situation where Wayland in general accidentally made drawing subsurfaces outside bounds UB. This was a problem for a long time for all widgets, we just finally fixed it for regular widgets, but I don't even know what we'd do for GL.
FWIW too this isn't even reproducable in the examples anymore as I've just made the tripaint demo not use a viewport
wontfix