Closed ianh closed 7 months ago
https://github.com/rust-windowing/softbuffer/pull/132 introduced a breaking API change, but hasn't been released yet, so it's expected that the examples from master
won't build with the released version of Softbuffer.
Makes sense, thanks. I got a working example by looking at the code in the v0.3.3 tag and downgrading winit in my Cargo.toml to 0.28.1.
The examples build and run from the softbuffer repository, but fail to build in a separate test repo. I tested with the following Cargo.toml and src/main.rs (copied from softbuffer examples/winit.rs):
Cargo.toml:
src/main.rs:
cargo run
output:rustc --version:
rustc 1.73.0 (cc66ad468 2023-10-03)
cargo --version:
cargo 1.73.0 (9c4383fb5 2023-08-26)
uname -a:
Darwin imhmba.local 21.6.0 Darwin Kernel Version 21.6.0: Wed Oct 4 23:54:48 PDT 2023; root:xnu-8020.240.18.704.15~1/RELEASE_ARM64_T8101 arm64