mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Update to skrifa 0.42.1 (#8187)
This commit is contained in:
@@ -240,7 +240,8 @@ impl FontCell {
|
||||
ctx.set_paint(color::OpaqueColor::<color::Srgb>::WHITE);
|
||||
ctx.fill_path(&path);
|
||||
let mut dest = vello_cpu::Pixmap::new(width, height);
|
||||
ctx.render_to_pixmap(&mut dest);
|
||||
let mut resources = vello_cpu::Resources::new();
|
||||
ctx.render_to_pixmap(&mut resources, &mut dest);
|
||||
let uv_rect = if width == 0 || height == 0 {
|
||||
UvRect::default()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user