Skip to content

Commit

Permalink
wgl: bump windows-sys to 0.52
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler authored Jun 6, 2024
1 parent c68d98f commit 700096f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- **Breaking:** updated `raw-window-handle` dependency to `0.6`.
- Bump MSRV from `1.65` to `1.70`.
- Bump `windows-sys` from `0.48.0` to `0.52.0`.

# Version 0.31.3

Expand Down
2 changes: 1 addition & 1 deletion glutin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ glutin_egl_sys = { version = "0.6.0", path = "../glutin_egl_sys", optional = tru
glutin_wgl_sys = { version = "0.5.0", path = "../glutin_wgl_sys", optional = true }

[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.48"
version = "0.52"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
Expand Down
4 changes: 2 additions & 2 deletions glutin/src/api/wgl/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl Display {
cDepthBits: template.depth_size,
cStencilBits: template.stencil_size,
cAuxBuffers: 0,
iLayerType: gl::PFD_MAIN_PLANE,
iLayerType: gl::PFD_MAIN_PLANE as u8,
bReserved: 0,
dwLayerMask: 0,
dwVisibleMask: 0,
Expand Down Expand Up @@ -517,7 +517,7 @@ pub(crate) fn choose_dummy_pixel_format(hdc: HDC) -> Result<(i32, PIXELFORMATDES
cDepthBits: 24,
cStencilBits: 8,
cAuxBuffers: 0,
iLayerType: gl::PFD_MAIN_PLANE,
iLayerType: gl::PFD_MAIN_PLANE as u8,
bReserved: 0,
dwLayerMask: 0,
dwVisibleMask: 0,
Expand Down
2 changes: 1 addition & 1 deletion glutin_egl_sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = "2021"
gl_generator = "0.14"

[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.48"
version = "0.52"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
Expand Down

0 comments on commit 700096f

Please sign in to comment.