Open madsmtm opened 1 week ago
@AlexanderHarrison: Since I cannot run your sample code (it is not a minimum reproducible one), it's a bit hard to test.
What Winit version are you using? (I'm assuming v0.30.5
?) And could you try it on the latest master
? And could you post the backtrace (set RUST_BACKTRACE=1
)?
EDIT: Wait nevermind, you said you're limited in the amount of debugging... Hmm...
Are you are doing anything to the window inside Ctx::new
or State::new
?
Yes, inside Ctx::new
I'm initiating a wgpu context and creating a surface using window
, then setting the window icon, and finally configuring the surface with the result of window.inner_size()
.
I'm using winit v0.30.5 with wgpu v22.1.0.
I will try to put together a minimal example.
Discussed in https://github.com/rust-windowing/winit/discussions/3990 by @AlexanderHarrison