From c86d0e59185d2796de4c72081f9431a7de12436a Mon Sep 17 00:00:00 2001 From: Valentin Date: Sat, 30 Nov 2024 12:56:23 +0100 Subject: [PATCH] fix accidental change of FallbackEgl to PreferEgl (#5408) I accidentally changed this in a previous commit when I meant to only change the comment above it. https://github.com/emilk/egui/pull/5392#discussion_r1859383653 --- crates/eframe/src/native/glow_integration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/eframe/src/native/glow_integration.rs b/crates/eframe/src/native/glow_integration.rs index db721a64697..2bd80cecbc3 100644 --- a/crates/eframe/src/native/glow_integration.rs +++ b/crates/eframe/src/native/glow_integration.rs @@ -943,7 +943,7 @@ impl GlutinWindowContext { // we might want to expose this option to users in the future. maybe using an env var or using native_options. // // The justification for FallbackEgl over PreferEgl is at https://github.com/emilk/egui/pull/2526#issuecomment-1400229576 . - .with_preference(glutin_winit::ApiPreference::PreferEgl) + .with_preference(glutin_winit::ApiPreference::FallbackEgl) .with_window_attributes(Some(egui_winit::create_winit_window_attributes( egui_ctx, event_loop,