debug_ui: Add option to display active gpu

This commit is contained in:
Victoria Brekenfeld 2022-03-22 12:36:03 +01:00
parent bc89ff99b4
commit 8e1c1af6a9
5 changed files with 29 additions and 13 deletions

View file

@ -45,6 +45,7 @@ impl WinitState {
let age = backend.buffer_age().unwrap_or(0);
match render::render_output(
None,
backend.renderer(),
age as u8,
state,