Warn about unsupported primitives in iced_tiny_skia
This commit is contained in:
parent
c189ef62a6
commit
2bc4880d00
1 changed files with 9 additions and 1 deletions
|
|
@ -430,10 +430,18 @@ impl Backend {
|
||||||
}
|
}
|
||||||
Primitive::SolidMesh { .. } | Primitive::GradientMesh { .. } => {
|
Primitive::SolidMesh { .. } | Primitive::GradientMesh { .. } => {
|
||||||
// Not supported!
|
// Not supported!
|
||||||
// TODO: Draw a placeholder (?) / Log it (?)
|
// TODO: Draw a placeholder (?)
|
||||||
|
log::warn!(
|
||||||
|
"Unsupported primitive in `iced_tiny_skia`: {:?}",
|
||||||
|
primitive
|
||||||
|
);
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
// Not supported!
|
// Not supported!
|
||||||
|
log::warn!(
|
||||||
|
"Unsupported primitive in `iced_tiny_skia`: {:?}",
|
||||||
|
primitive
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue