eframe: only enable puffin feature on egui_glow if glow is enabled

This commit is contained in:
Emil Ernerfeldt 2022-07-22 11:09:27 +02:00
parent 41f31116ce
commit d76d055d49

View file

@ -47,7 +47,7 @@ persistence = [
##
## Only enabled on native, because of the low resolution (1ms) of time keeping in browsers.
## `eframe` will call `puffin::GlobalProfiler::lock().new_frame()` for you
puffin = ["dep:puffin", "egui_glow/puffin"]
puffin = ["dep:puffin", "egui_glow?/puffin"]
## Enable screen reader support (requires `ctx.options().screen_reader = true;`)
screen_reader = [