Skip to content

Commit

Permalink
fix accidental change of FallbackEgl to PreferEgl (#5408)
Browse files Browse the repository at this point in the history
I accidentally changed this in a previous commit when I meant to only
change the comment above it.

#5392 (comment)
  • Loading branch information
e00E authored Nov 30, 2024
1 parent 10791cc commit c86d0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/eframe/src/native/glow_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c86d0e5

Please sign in to comment.