Skip to content

How to grab window from 0.19.1 wgpu create_surface? #5213

Closed Answered by cwfitzgerald
lexi-the-cute asked this question in Q&A
Discussion options

You must be logged in to vote

You can't, you need to retain a handle to the window yourself - the general way to do this is to hand us an Arc and keep an arc for yourself.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@lexi-the-cute
Comment options

Answer selected by cwfitzgerald
Comment options

You must be logged in to vote
1 reply
@cwfitzgerald
Comment options

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