Skip to content

Commit

Permalink
ci: bump github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kchibisov committed Aug 16, 2023
1 parent d059191 commit db14cfc
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

runs-on: ${{ matrix.platform.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
# Used to cache cargo-web
- name: Cache cargo folder
uses: actions/cache@v1
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"glutin",
"glutin-winit",
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.5.1", path = "../glutin_egl_sys", optional = tru
glutin_wgl_sys = { version = "0.4.0", path = "../glutin_wgl_sys", optional = true }

[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.45"
version = "0.48"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
Expand Down
4 changes: 2 additions & 2 deletions glutin/src/api/wgl/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::sync::Arc;

use glutin_wgl_sys::wgl;
use raw_window_handle::{RawDisplayHandle, RawWindowHandle};
use windows_sys::Win32::Foundation::HINSTANCE;
use windows_sys::Win32::Foundation::HMODULE;
use windows_sys::Win32::Graphics::Gdi::HDC;
use windows_sys::Win32::System::LibraryLoader as dll_loader;

Expand Down Expand Up @@ -206,7 +206,7 @@ impl Sealed for Display {}

pub(crate) struct DisplayInner {
/// Client WGL extensions.
pub(crate) lib_opengl32: HINSTANCE,
pub(crate) lib_opengl32: HMODULE,

/// Extra functions used by the impl.
pub(crate) wgl_extra: Option<&'static WglExtra>,
Expand Down
4 changes: 2 additions & 2 deletions glutin/src/api/wgl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::os::windows::ffi::OsStrExt;

use glutin_wgl_sys::{wgl, wgl_extra};
use once_cell::sync::OnceCell;
use windows_sys::Win32::Foundation::{HINSTANCE, HWND};
use windows_sys::Win32::Foundation::{HMODULE, HWND};
use windows_sys::Win32::Graphics::{Gdi as gdi, OpenGL as gl};
use windows_sys::Win32::UI::WindowsAndMessaging::{self as wm, WINDOWPLACEMENT, WNDCLASSEXW};

Expand Down Expand Up @@ -46,7 +46,7 @@ impl Deref for WglExtra {
}

unsafe fn load_extra_functions(
instance: HINSTANCE,
instance: HMODULE,
win: HWND,
) -> Result<(&'static WglExtra, HashSet<&'static str>)> {
let rect = unsafe {
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.45"
version = "0.48"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
Expand Down

0 comments on commit db14cfc

Please sign in to comment.