You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I gave it a quick try, because it's reaaaally easy -just replace app.world by app.world() and app.world_mut()- but then bevy_pixels stops compiling.
From what I could gather, pixels uses a very old winit (0.28), and for some reason it's OK with bevy 0.13, where you added 0.29 with specific features, but it's no longer the case after moving to bevy 0.14.
There are a lot of compilation errors claiming
...the trait `HasRawDisplayHandle` is not implemented for `WindowWrapper<winit...
I'm not entirely sure this is the cause of the conflict, but to me it looks like pixels needs to be updated, so bevy_pixels can also be updated.
I can provide a patch for the version bump, I reverted my local branch to 0.13, but it's really a 5 minute change.
EDIT:
Looks like the story is way more complex: parasyte/pixels#379 parasyte/pixels#292
there is also raw-window-handle, which is the real reason why pixels can no longer compile, because it's a shared dependency between pixels and winit. So, if winit bumps the version, then pixels needs to bump the version, and bevy_pixels is only working thanks to the workaround on 0.29 that was also used here: parasyte/pixels#379 (comment)
The text was updated successfully, but these errors were encountered:
I gave it a quick try, because it's reaaaally easy -just replace app.world by app.world() and app.world_mut()- but then bevy_pixels stops compiling.
From what I could gather, pixels uses a very old winit (0.28), and for some reason it's OK with bevy 0.13, where you added 0.29 with specific features, but it's no longer the case after moving to bevy 0.14.
There are a lot of compilation errors claiming
...the trait `HasRawDisplayHandle` is not implemented for `WindowWrapper<winit...
Which makes sense, since that it deprecated and
HasDisplayHandle
should be used instead: https://docs.rs/raw-window-handle/latest/raw_window_handle/trait.HasRawDisplayHandle.htmlI'm not entirely sure this is the cause of the conflict, but to me it looks like pixels needs to be updated, so bevy_pixels can also be updated.
I can provide a patch for the version bump, I reverted my local branch to 0.13, but it's really a 5 minute change.
EDIT:
Looks like the story is way more complex:
parasyte/pixels#379
parasyte/pixels#292
there is also raw-window-handle, which is the real reason why pixels can no longer compile, because it's a shared dependency between pixels and winit. So, if winit bumps the version, then pixels needs to bump the version, and bevy_pixels is only working thanks to the workaround on 0.29 that was also used here: parasyte/pixels#379 (comment)
The text was updated successfully, but these errors were encountered: