parasyte / pixels

A tiny hardware-accelerated pixel frame buffer. 🦀
https://docs.rs/pixels
MIT License
1.82k stars 123 forks source link

raw_window_handle old version #401

Open noniwoo opened 2 months ago

noniwoo commented 2 months ago

In your repo I can clearly see that current version is using raw-window-handle = "0.6", but on https://crates.io/crates/pixels/0.14.0/dependencies you can see, that it uses raw-window-handle v0.5. Could you please update the crate to make pixels interoperable with current version of winit?

parasyte commented 2 months ago

pixels 0.14 was released with support for wgpu 0.17. See the release notes.

If you want a newer version of wgpu with raw-window-handle 0.6 then you need to use the git repo (which currently supports wgpu 0.19) until another release is published:

[dependencies.pixels]
git = "https://github.com/parasyte/pixels.git"
rev = "57d339e61edd3ce3233cce47546382ee0f7bea06"
Barafu commented 1 month ago

Or just cargo add winit --features rwh_05