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
Upon running the sprite packer file as listed in the (outdated) instructions, it gives two errors:
error[E0063]: missing field `loop_start` in initializer of `AudioSprite`
--> src/audio.rs:357:26
|
357 | let sprite = AudioSprite {
| ^^^^^^^^^^^ missing `loop_start`
error[E0599]: no method named `log2` found for type `u32` in the current scope
--> src/texture.rs:188:39
|
188 | Box::new((min_size..=MAX_SIZE.log2()).into_iter().flat_map(|power| {
| ^^^^ help: there is an associated function with a similar name: `ilog2`
It seems both the README and the audio.rs files are over a year out of date.
The text was updated successfully, but these errors were encountered:
Thanks! We noticed this issue on our end and have a fix in the next release. I recommend commenting out the audio-related code if you just need the texture-related code to work.
(note: the second error can be caused by a too-recent Rust compiler, since they renamed the unstable method log2 to ilog2)
Upon running the sprite packer file as listed in the (outdated) instructions, it gives two errors:
It seems both the README and the audio.rs files are over a year out of date.
The text was updated successfully, but these errors were encountered: