Skip to content

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

Closed
robbert-vdh wants to merge 1 commit into
RustAudio:masterfrom
robbert-vdh:fix/window-depth
Closed

Create the X11 window with a depth of 32-bits#114
robbert-vdh wants to merge 1 commit into
RustAudio:masterfrom
robbert-vdh:fix/window-depth

Conversation

@robbert-vdh
Copy link
Copy Markdown
Member

This was supposed to fix micahrj/raw-gl-context#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.

This should fix the inability to create OpenGL contexts with alpha
channels in raw-gl-context, but it seems like that still needs a bit
more work.
@robbert-vdh robbert-vdh closed this Feb 7, 2022
@robbert-vdh
Copy link
Copy Markdown
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

context creation fails on X11 with Nvidia drivers if alpha_bits != 0

1 participant