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

winit: don't explicitly handle Cmd-Q and Alt-F4 (#881)

Closes https://github.com/emilk/egui/issues/877

Still a problem: https://github.com/rust-windowing/winit/issues/1998
This commit is contained in:
Emil Ernerfeldt
2021-11-07 20:58:02 +01:00
committed by GitHub
parent 19d24bbebe
commit ddd5f6f4f6
12 changed files with 14 additions and 49 deletions

View File

@@ -1,7 +1,6 @@
use crate::*;
use egui::Color32;
#[cfg(target_os = "windows")]
use glium::glutin::platform::windows::WindowBuilderExtWindows;
use glium::glutin;
impl epi::TextureAllocator for Painter {
fn alloc_srgba_premultiplied(