RustAudio / baseview

low-level window system interface for audio plugin UIs
Apache License 2.0
267 stars 57 forks source link

Create the X11 window with a depth of 32-bits #114

Closed robbert-vdh closed 2 years ago

robbert-vdh commented 2 years ago

This was supposed to fix https://github.com/glowcoil/raw-gl-context/issues/2, but it seems like setting the correct visual wasn't the magic bullet. Still, having the windows created with a 32-bit visual seems like a good idea since almost everything does that and now you can rely on the baseview window always having the same depth instead of it being dependent on the parent window.

robbert-vdh commented 2 years ago

I'll close this since this does not solve any problems and it triggers the same mismatching visual problem with Mesa (which just happens to work with the first visual by coincidence). I'll open a new PR after I integrated raw-gl-context back into baseview.