mirror of
https://github.com/emilk/egui.git
synced 2026-06-27 07:03:14 -04:00
Remove warning in release build
This commit is contained in:
@@ -1213,6 +1213,11 @@ impl Context {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user