mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-09 20:31:29 +11:00
Update to better match other examples
This commit is contained in:
parent
3a63f00e7e
commit
19552ad819
|
@ -1,7 +1,12 @@
|
|||
[package]
|
||||
name = "headless"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "An example showing how to use `vello` to create raster images"
|
||||
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
|
||||
|
||||
|
|
|
@ -220,7 +220,7 @@ async fn render(mut scenes: SceneSet, index: usize, args: &Args) -> Result<()> {
|
|||
}
|
||||
|
||||
#[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 {
|
||||
#[arg(long, short, global(false))]
|
||||
x_resolution: Option<u32>,
|
||||
|
|
Loading…
Reference in a new issue