Skip to content

raw_window_handle::HasRawWindowHandle not implemented #4989

Answered by bwoods
ElhamAryanpur asked this question in Q&A
Discussion options

You must be logged in to vote

As winit has support for different versions of the raw_window_handle protocols, you will need to enable the appropriate version for wgpu. Here's what I use:

# Cargo.toml
winit = { version = "0.29" , features = ["rwh_05"] }
wgpu = "0.18"

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cwfitzgerald
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants