1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -04:00

Add simple Windows CI workflow check (#2663)

* Add simple Windows CI workflow check

* Fix Windows build in CI

* Windows fix
This commit is contained in:
John Hughes
2023-02-03 13:19:12 +01:00
committed by GitHub
parent 5725868b57
commit 8c59888ebd
4 changed files with 25 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ impl GlutinWindowContext {
// try egl and fallback to windows wgl. Windows is the only platform that *requires* window handle to create display.
#[cfg(target_os = "windows")]
let preference = glutin::display::DisplayApiPreference::EglThenWgl(Some(window_handle));
let preference = glutin::display::DisplayApiPreference::EglThenWgl(Some(raw_window_handle));
// try egl and fallback to x11 glx
#[cfg(target_os = "linux")]
let preference = glutin::display::DisplayApiPreference::EglThenGlx(Box::new(