Merge pull request #85 from rust-windowing/bump-deps

Update `windows-sys` and `image`
This commit is contained in:
Ian Douglas Scott 2023-04-06 09:44:00 -07:00 committed by GitHub
commit 7ba535c225
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,7 @@ x11rb = { version = "0.11.0", features = ["allow-unsafe-code", "dl-libxcb", "shm
fastrand = { version = "1.8.0", optional = true }
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.45.0"
version = "0.48.0"
features = ["Win32_Graphics_Gdi", "Win32_UI_WindowsAndMessaging", "Win32_Foundation"]
[target.'cfg(target_os = "macos")'.dependencies]
@ -65,14 +65,14 @@ instant = "0.1.12"
winit = "0.28.1"
[dev-dependencies.image]
version = "0.23.14"
version = "0.24.6"
# Disable rayon on web
default-features = false
features = ["jpeg"]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
# Turn rayon back on everywhere else; creating the separate entry resets the features to default.
image = "0.23.14"
image = "0.24.6"
rayon = "1.5.1"
[workspace]

View file

@ -51,7 +51,7 @@ impl Buffer {
biHeight: -height.get(),
biPlanes: 1,
biBitCount: 32,
biCompression: Gdi::BI_BITFIELDS,
biCompression: Gdi::BI_BITFIELDS as u32,
biSizeImage: 0,
biXPelsPerMeter: 0,
biYPelsPerMeter: 0,