1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

Fix wrong pixels-per-point for wgpu

This commit is contained in:
Emil Ernerfeldt
2023-11-07 18:42:04 +01:00
parent d3134871d2
commit 25fd7ba2be
4 changed files with 66 additions and 35 deletions

View File

@@ -154,7 +154,7 @@ fn main() {
let (gl_window, gl) = create_display(&event_loop);
let gl = std::sync::Arc::new(gl);
let mut egui_glow = egui_glow::EguiGlow::new(&event_loop, gl.clone(), None);
let mut egui_glow = egui_glow::EguiGlow::new(&event_loop, gl.clone(), None, None);
let event_loop_proxy = egui::mutex::Mutex::new(event_loop.create_proxy());
egui_glow