You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: crates/eframe/src/native/glow_integration.rs
+25-15
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
8
8
#![allow(clippy::arc_with_non_send_sync)]// glow::Context was accidentally non-Sync in glow 0.13, but that will be fixed in future releases of glow: https://github.com/grovesNL/glow/commit/c4a5f7151b9b4bbb380faa06ec27415235d1bf7e
9
9
10
-
use std::{cell::RefCell, rc::Rc, sync::Arc, time::Instant};
10
+
use std::{cell::RefCell,num::NonZeroU32,rc::Rc, sync::Arc, time::Instant};
Copy file name to clipboardexpand all lines: crates/egui_glow/examples/pure_glow.rs
+5-4
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
#![allow(unsafe_code)]
5
5
#![allow(clippy::arc_with_non_send_sync)]// glow::Context was accidentally non-Sync in glow 0.13, but that will be fixed in future releases of glow: https://github.com/grovesNL/glow/commit/c4a5f7151b9b4bbb380faa06ec27415235d1bf7e
6
6
7
+
use std::num::NonZeroU32;
8
+
7
9
use egui_winit::winit;
8
10
9
11
/// The majority of `GlutinWindowContext` is taken from `eframe`
@@ -19,7 +21,6 @@ impl GlutinWindowContext {
19
21
// preferably add android support at the same time.
0 commit comments