Browse Source

Remove warning in release build

pull/4309/head
Emil Ernerfeldt 7 months ago
parent
commit
3ee4890b94
  1. 5
      crates/egui/src/context.rs

5
crates/egui/src/context.rs

@ -1213,6 +1213,11 @@ impl Context {
ctx.viewport().widgets_this_frame.set_info(id, make_info()); ctx.viewport().widgets_this_frame.set_info(id, make_info());
} }
}); });
#[cfg(not(debug_assertions))]
{
_ = (self, id, make_info);
}
} }
/// Get a full-screen painter for a new or existing layer /// Get a full-screen painter for a new or existing layer

Loading…
Cancel
Save