mirror of
https://github.com/emilk/egui.git
synced 2026-09-03 15:20:05 -04:00
egui_glow: Reduce memory allocations in Painter::set_texture (#1096)
Use bytemuck::cast_slice
This commit is contained in:
@@ -23,8 +23,9 @@ include = [
|
||||
all-features = true
|
||||
|
||||
[dependencies]
|
||||
egui = { version = "0.16.0", path = "../egui", default-features = false, features = ["single_threaded"] }
|
||||
egui = { version = "0.16.0", path = "../egui", default-features = false, features = ["single_threaded", "convert_bytemuck"] }
|
||||
|
||||
bytemuck = "1.7"
|
||||
epi = { version = "0.16.0", path = "../epi", optional = true }
|
||||
glow = "0.11"
|
||||
memoffset = "0.6"
|
||||
|
||||
Reference in New Issue
Block a user