mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Remove log feature (#7583)
This commit is contained in:
@@ -2000,12 +2000,10 @@ impl Tessellator {
|
||||
}
|
||||
|
||||
if galley.pixels_per_point != self.pixels_per_point {
|
||||
let warn = "epaint: WARNING: pixels_per_point (dpi scale) have changed between text layout and tessellation. \
|
||||
You must recreate your text shapes if pixels_per_point changes.";
|
||||
#[cfg(feature = "log")]
|
||||
log::warn!("{warn}");
|
||||
#[cfg(not(feature = "log"))]
|
||||
println!("{warn}");
|
||||
log::warn!(
|
||||
"epaint: WARNING: pixels_per_point (dpi scale) have changed between text layout and tessellation. \
|
||||
You must recreate your text shapes if pixels_per_point changes."
|
||||
);
|
||||
}
|
||||
|
||||
out.vertices.reserve(galley.num_vertices);
|
||||
|
||||
Reference in New Issue
Block a user