Skip to content

add default methods to WindowOpenOptions#224

Open
BillyDM wants to merge 2 commits intoRustAudio:masterfrom
BillyDM:default_options
Open

add default methods to WindowOpenOptions#224
BillyDM wants to merge 2 commits intoRustAudio:masterfrom
BillyDM:default_options

Conversation

@BillyDM
Copy link
Copy Markdown
Contributor

@BillyDM BillyDM commented Mar 30, 2026

This will fix an annoying issue I'm having in my NIH-plug fork where rust-analyzer will get confused when some crates use the "opengl" feature and some don't. I have to add special crate features just to work around it.

With this, I can just use the ..Default::default() pattern to make both rust-analyzer and the rust compiler happy.

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.

1 participant