mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
polish glutin upgrade with glutin-winit crate (#2526)
* use glutin-winit for glow context creation * added some tracing for easier debugging of glutin problems * fmt * add more debug logs * more tracing * fallback egl instead of prefer egl * update pure glow example to use glutin_winit * add more logging. ignore vsync option if not supported * cranky lint * add some logging for easier debugging * drop window after glutin surface * small changes based on pr review * build fix --------- Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
14
Cargo.lock
generated
14
Cargo.lock
generated
@@ -1278,6 +1278,7 @@ dependencies = [
|
||||
"egui_glow",
|
||||
"glow 0.11.2",
|
||||
"glutin",
|
||||
"glutin-winit",
|
||||
"image",
|
||||
"js-sys",
|
||||
"percent-encoding",
|
||||
@@ -1404,6 +1405,7 @@ dependencies = [
|
||||
"egui-winit",
|
||||
"glow 0.11.2",
|
||||
"glutin",
|
||||
"glutin-winit",
|
||||
"memoffset",
|
||||
"puffin",
|
||||
"raw-window-handle",
|
||||
@@ -1817,6 +1819,18 @@ dependencies = [
|
||||
"x11-dl",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "glutin-winit"
|
||||
version = "0.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "629a873fc04062830bfe8f97c03773bcd7b371e23bcc465d0a61448cd1588fa4"
|
||||
dependencies = [
|
||||
"cfg_aliases",
|
||||
"glutin",
|
||||
"raw-window-handle",
|
||||
"winit",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "glutin_egl_sys"
|
||||
version = "0.3.1"
|
||||
|
||||
Reference in New Issue
Block a user