mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 12:41:30 +11:00
Update to better match other examples
This commit is contained in:
parent
3a63f00e7e
commit
19552ad819
|
@ -1,7 +1,12 @@
|
||||||
[package]
|
[package]
|
||||||
name = "headless"
|
name = "headless"
|
||||||
version = "0.1.0"
|
description = "An example showing how to use `vello` to create raster images"
|
||||||
edition = "2021"
|
publish = false
|
||||||
|
|
||||||
|
version.workspace = true
|
||||||
|
license.workspace = true
|
||||||
|
edition.workspace = true
|
||||||
|
repository.workspace = true
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
|
|
@ -220,7 +220,7 @@ async fn render(mut scenes: SceneSet, index: usize, args: &Args) -> Result<()> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Parser, Debug)]
|
#[derive(Parser, Debug)]
|
||||||
#[command(about, long_about = None, bin_name="cargo run -p with_winit --")]
|
#[command(about, long_about = None, bin_name="cargo run -p headless --")]
|
||||||
struct Args {
|
struct Args {
|
||||||
#[arg(long, short, global(false))]
|
#[arg(long, short, global(false))]
|
||||||
x_resolution: Option<u32>,
|
x_resolution: Option<u32>,
|
||||||
|
|
Loading…
Reference in a new issue