Update windows-sys and image
This commit is contained in:
parent
a09e4cf679
commit
7a687105e3
2 changed files with 4 additions and 4 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue