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

Handling window creation failures #122

Open
Tracked by #168
robbert-vdh opened this issue Mar 16, 2022 · 0 comments
Open
Tracked by #168

Handling window creation failures #122

robbert-vdh opened this issue Mar 16, 2022 · 0 comments

Comments

@robbert-vdh
Copy link
Member

I feel like open_parented()/open_as_if_parented()/open_blocking() should return a Result<WindowHandle/()>. Right now there's no way to handle window creation failures, and baseview will just panic if anything goes wrong. That's especially important when creating OpenGL contexts. If baseview would return an error, you would be able to try a couple different settings until you find something that works on the current system.

@BillyDM BillyDM mentioned this issue Mar 18, 2024
27 tasks
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

No branches or pull requests

1 participant