feat!: make compatible with `bevy@~0.14`
I got close but not close enough, using the branch https://github.com/mkrasnitski/pixels from the PR https://github.com/parasyte/pixels/pull/391 via the patches in cargo.
- Blocked by https://github.com/parasyte/pixels/pull/391
- Closes #22
Pixelsadded a lifetime to the struct so we need to add one too. Not sure if<'win: 'static>is the way to go. Bevy query types want'staticbut figured allowing our own lifetime bound by static is better than just static.
I can't figure out the error in src/system.rs.
It says that the window we get on line 33 doesn't have the trait HasWindowHandle.
I believe it should be on there because we've added the feature rwh_06.
Feel free to add to or change this as you wish!
FWIW, https://github.com/parasyte/pixels/pull/391 was merged today.
FWIW, parasyte/pixels#391 was merged today.
Thanks @parasyte! I'll look at getting bevy_pixels working with bevy 0.14 and pixels 0.14.
I haven't yet published a pixels release that supports wgpu 0.19, but I will be glad to if it will unblock this PR.
I haven't yet published a
pixelsrelease that supportswgpu0.19, but I will be glad to if it will unblock this PR.
@parasyte Ahh, so the new release of pixels 0.14 just bumps to wgpu 0.17 while it's the PR you mentioned that brings you to wgpu 0.19 with support for raw-window-handle 0.6 (yet to be included in a release)? I just noticed pixels 0.14 was just released and assumed it was included.
It would be nice to get this into a release, but no rush. More than happy to wait until those changes have been battle tested first.
is there anything else blocking the upgrade? We just need a new version of pixels to bump the version. right?
Merged into feature branch so I can continue.