mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Postpone call to get_current_texture (#3914)
This should help slightly with CPU/GPU parallelism when vsync is on. I also return the time spent on vsync, which can help users figure out how much CPU wall-time was used on non-vsync stuff
This commit is contained in:
@@ -60,7 +60,7 @@ egui = { version = "0.25.0", path = "../egui", default-features = false, feature
|
||||
] }
|
||||
log = { version = "0.4", features = ["std"] }
|
||||
raw-window-handle.workspace = true
|
||||
web-time = { version = "0.2" } # We use web-time so we can (maybe) compile for web
|
||||
web-time.workspace = true
|
||||
winit = { workspace = true, default-features = false, features = ["rwh_06"] }
|
||||
|
||||
#! ### Optional dependencies
|
||||
|
||||
Reference in New Issue
Block a user