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:
@@ -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"] }
|
||||
|
||||
|
||||
@@ -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::{
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user