Skip to content

Commit

Permalink
Merge pull request #5 from VictorKoenders/bump-deps
Browse files Browse the repository at this point in the history
Bumped glow to 0.16, bytemuck to 1.20
  • Loading branch information
17cupsofcoffee authored Nov 27, 2024
2 parents 16bb0bb + fb98acd commit eb53253
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2021"
[dependencies]
# Core
fermium = { version = "22605", default-features = false }
glow = "0.15"
bytemuck = { version = "1.9", features = ["derive"] }
glow = "0.16"
bytemuck = { version = "1.20", features = ["derive"] }
glam = { version = "0.29", features = ["bytemuck"] }
fontdue = "0.9"
png = "0.17"
Expand Down
4 changes: 2 additions & 2 deletions src/graphics/texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl RawTexture {
0,
glow::RGBA,
glow::UNSIGNED_BYTE,
Some(data),
PixelUnpackData::Slice(Some(data)),
);

RawTexture {
Expand Down Expand Up @@ -170,7 +170,7 @@ impl RawTexture {
height,
glow::RGBA,
glow::UNSIGNED_BYTE,
PixelUnpackData::Slice(data),
PixelUnpackData::Slice(Some(data)),
)
}
}
Expand Down

0 comments on commit eb53253

Please sign in to comment.