Update docs (#165)

- Screenshot for the `imgui-winit` example was quite outdated. Dear ImGui even has a new theme, now.
This commit is contained in:
Jay Oster 2021-05-08 19:13:30 -07:00 committed by GitHub
parent cdcfe57868
commit 0b26cf015f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 7 deletions

View file

@ -2,6 +2,7 @@
| `pixels` version | `rustc` version |
|------------------|-----------------|
| `0.4.0` | `1.51.0` |
| `0.3.0` | `1.51.0` |
| `0.2.0` | `1.41.0` |
| `0.1.0` | `1.41.0` |

View file

@ -54,13 +54,7 @@ $ RUST_LOG=trace cargo run --package minimal-winit
And also on release builds when default features are disabled:
```
$ RUST_LOG=trace cargo run --release --manifest-path examples/minimal-winit/Cargo.toml --no-default-features
```
Alternatively, nightly Cargo allows using the `--no-default-features` flag directly from the top-level directory in combination with the unstable `-Zpackage-features` flag:
```
$ RUST_LOG=trace cargo run --release --package minimal-winit -Zpackage-features --no-default-features
$ RUST_LOG=trace cargo run --package minimal-winit --release --no-default-features
```
## Comparison with `minifb`

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 14 KiB