Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context::new_context's shareable_with_windowed_contexts parameter only signficiant on Linux #1095

Closed
Osspial opened this issue Jan 4, 2019 · 2 comments

Comments

@Osspial
Copy link
Contributor

Osspial commented Jan 4, 2019

On non-Linux platforms, the parameter is either ignored or crashes the program if set to true. There doesn't seem to be a good reason for this to be a cross-platform parameter, much less one that invades the main API for creating headless contexts. Instead, it should be a parameter in a linux ContextBuilderExt trait that is named for what it actually does - choosing between a window-manager-backed context or an OSMesa context.

@goddessfreya goddessfreya mentioned this issue Jan 31, 2019
14 tasks
@goddessfreya
Copy link
Contributor

Hey @Osspial, this was a great idea which I'd never thought about. Should've cc'd me so that I'd done it earlier. :)
Been added to my growing PR, right here: #1058

@goddessfreya
Copy link
Contributor

Fixed in #1101.

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

No branches or pull requests

2 participants