mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Fix some typos (#5339)
The spell check pipeline in #5313 suddenly failed, this fixes these typos and some more found via my IDEs spell checker tool
This commit is contained in:
@@ -2029,8 +2029,8 @@ impl Tessellator {
|
||||
use rayon::prelude::*;
|
||||
|
||||
// We only parallelize large/slow stuff, because each tessellation job
|
||||
// will allocate a new Mesh, and so it creates a lot of extra memory framentation
|
||||
// and callocations that is only worth it for large shapes.
|
||||
// will allocate a new Mesh, and so it creates a lot of extra memory fragmentation
|
||||
// and allocations that is only worth it for large shapes.
|
||||
fn should_parallelize(shape: &Shape) -> bool {
|
||||
match shape {
|
||||
Shape::Vec(shapes) => 4 < shapes.len() || shapes.iter().any(should_parallelize),
|
||||
|
||||
Reference in New Issue
Block a user