Closed sulix closed 1 year ago
I wonder how hard it would be to bind a socket, force DISPLAY
to point at it, and speak just enough of the X11 protocol to make these apps survive extension lookup and glXGetProcAddress. :)
(for future reference: GitHub's "here's how to update this PR from the command line" instructions don't update the PR, they push right to main. :/ )
Make some changes to how the automatic quirks for apps which link against gl[x]ew and Cg functions work. In particular:
Fixes: 2a96bb35d756 ("quirks: Force X11 on Linux if certain symbols are in the process.")
In short, it now behaves more like the other quirks.
Note that there are some downsides to this:
On the whole, though, I think this is worthwhile. I've definitely managed to get several Cg games working under wayland using a hacky LD_PRELOADed shim, which requires some way of overriding the quirk here.