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

Update to glow 0.13 (#3715)

This commit is contained in:
Emil Ernerfeldt
2023-12-18 15:15:20 +01:00
committed by GitHub
parent 8e5959d55d
commit 449678e617
7 changed files with 20 additions and 30 deletions

View File

@@ -116,7 +116,7 @@ thiserror.workspace = true
document-features = { version = "0.2", optional = true }
egui_glow = { version = "0.24.1", path = "../egui_glow", optional = true, default-features = false }
glow = { version = "0.12", optional = true }
glow = { workspace = true, optional = true }
ron = { version = "0.8", optional = true, features = ["integer128"] }
serde = { version = "1", optional = true, features = ["derive"] }

View File

@@ -5,6 +5,8 @@
//! There is a bunch of improvements we could do,
//! like removing a bunch of `unwraps`.
#![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
use std::{cell::RefCell, rc::Rc, sync::Arc, time::Instant};
use glutin::{

View File

@@ -49,7 +49,7 @@ egui = { version = "0.24.1", path = "../egui", default-features = false, feature
] }
bytemuck = "1.7"
glow = "0.12"
glow.workspace = true
log = { version = "0.4", features = ["std"] }
memoffset = "0.7"

View File

@@ -2,6 +2,7 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release
#![allow(unsafe_code)]
#![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
use egui_winit::winit;