Skip to content

Commit b7c5eba

Browse files
authoredAug 16, 2023
ci: bump github actions
1 parent d059191 commit b7c5eba

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed
 

‎.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
name: Check formatting
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v3
2222
- uses: hecrj/setup-rust-action@v1
2323
with:
2424
rust-version: nightly
@@ -62,7 +62,7 @@ jobs:
6262

6363
runs-on: ${{ matrix.platform.os }}
6464
steps:
65-
- uses: actions/checkout@v1
65+
- uses: actions/checkout@v3
6666
# Used to cache cargo-web
6767
- name: Cache cargo folder
6868
uses: actions/cache@v1

‎Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[workspace]
2+
resolver = "2"
23
members = [
34
"glutin",
45
"glutin-winit",

‎glutin/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ glutin_egl_sys = { version = "0.5.1", path = "../glutin_egl_sys", optional = tru
3030
glutin_wgl_sys = { version = "0.4.0", path = "../glutin_wgl_sys", optional = true }
3131

3232
[target.'cfg(windows)'.dependencies.windows-sys]
33-
version = "0.45"
33+
version = "0.48"
3434
features = [
3535
"Win32_Foundation",
3636
"Win32_Graphics_Gdi",

‎glutin/src/api/wgl/display.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use std::sync::Arc;
88

99
use glutin_wgl_sys::wgl;
1010
use raw_window_handle::{RawDisplayHandle, RawWindowHandle};
11-
use windows_sys::Win32::Foundation::HINSTANCE;
11+
use windows_sys::Win32::Foundation::HMODULE;
1212
use windows_sys::Win32::Graphics::Gdi::HDC;
1313
use windows_sys::Win32::System::LibraryLoader as dll_loader;
1414

@@ -206,7 +206,7 @@ impl Sealed for Display {}
206206

207207
pub(crate) struct DisplayInner {
208208
/// Client WGL extensions.
209-
pub(crate) lib_opengl32: HINSTANCE,
209+
pub(crate) lib_opengl32: HMODULE,
210210

211211
/// Extra functions used by the impl.
212212
pub(crate) wgl_extra: Option<&'static WglExtra>,

‎glutin/src/api/wgl/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::os::windows::ffi::OsStrExt;
99

1010
use glutin_wgl_sys::{wgl, wgl_extra};
1111
use once_cell::sync::OnceCell;
12-
use windows_sys::Win32::Foundation::{HINSTANCE, HWND};
12+
use windows_sys::Win32::Foundation::{HMODULE, HWND};
1313
use windows_sys::Win32::Graphics::{Gdi as gdi, OpenGL as gl};
1414
use windows_sys::Win32::UI::WindowsAndMessaging::{self as wm, WINDOWPLACEMENT, WNDCLASSEXW};
1515

@@ -46,7 +46,7 @@ impl Deref for WglExtra {
4646
}
4747

4848
unsafe fn load_extra_functions(
49-
instance: HINSTANCE,
49+
instance: HMODULE,
5050
win: HWND,
5151
) -> Result<(&'static WglExtra, HashSet<&'static str>)> {
5252
let rect = unsafe {

‎glutin_egl_sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ edition = "2021"
1313
gl_generator = "0.14"
1414

1515
[target.'cfg(windows)'.dependencies.windows-sys]
16-
version = "0.45"
16+
version = "0.48"
1717
features = [
1818
"Win32_Foundation",
1919
"Win32_Graphics_Gdi",

0 commit comments

Comments
 (0)
Please sign in to comment.