Skip to content

Commit

Permalink
chore: publish 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mosure committed Mar 8, 2024
1 parent 26112bb commit 21bba2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bevy_light_field"
description = "rust bevy light field array tooling"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
authors = ["mosure <mitchell@mosure.me>"]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ impl RtspStream {
assert_eq!(u32::from(sink.width), image_size.0 as u32, "frame width mismatch - stream size changes are not supported yet.");
assert_eq!(u32::from(sink.height), image_size.1 as u32, "frame height mismatch - stream size changes are not supported yet.");

let mut data = sink.data.as_mut();
frame.write_rgba8(&mut data);
let data = sink.data.as_mut();
frame.write_rgba8(data);
},
None => {
let mut data = vec![0; image_size.0 * image_size.1 * 4];
Expand Down

0 comments on commit 21bba2e

Please sign in to comment.