skia-org: simplify
@@ -142,12 +142,12 @@ fn main() {
skpaint_overview::draw(driver, &out_path);
#[cfg(feature = "textlayout")]
+ {
skshaper_example::draw(driver, &out_path);
-
- #[cfg(feature = "textlayout")]
skparagraph_example::draw(driver, &out_path);
}
}
+}
fn get_available_drivers() -> Vec<&'static str> {
let mut drivers = vec!["cpu", "pdf", "svg"];
