1
0
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:
Emil Ernerfeldt
2024-03-31 20:41:44 +02:00
parent a97134d66c
commit 3ee4890b94

View File

@@ -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