Skip to content

Commit

Permalink
Update example instructions in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
king6cong committed Jun 21, 2018
1 parent 842b931 commit 4c7a4ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@ To run an example, simply use `cargo run` and specify the backend with `--featur

```bash
git clone https://github.com/gfx-rs/gfx
cd gfx/examples/hal
cd gfx/examples
# macOS
cargo run --bin quad --features metal
# vulkan
cargo run --bin quad --features vulkan
# Windows
cargo run --bin compute --features dx12 1 2 3 4
```

Expand Down

0 comments on commit 4c7a4ac

Please sign in to comment.