Skip to content

Commit

Permalink
Fix typos in surface tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
jirisvd committed May 27, 2024
1 parent 2a9e31e commit 6271615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/beginner/tutorial2-surface/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,15 @@ The `features` field on `DeviceDescriptor` allows us to specify what extra featu

<div class="note">

The graphics card you haverequired_limits the features you can use. If you want to use certain features, you may need to limit what devices you support or provide workarounds.
The graphics card you have limits the features you can use. If you want to use certain features, you may need to limit what devices you support or provide workarounds.

You can get a list of features supported by your device using `adapter.features()` or `device.features()`.

You can view a full list of features [here](https://docs.rs/wgpu/latest/wgpu/struct.Features.html).

</div>

The `limits` field describes the limit of certain types of resources that we can create. We'll use the defaults for this tutorial so we can support most devices. You can view a list ofrequired_limits [here](https://docs.rs/wgpu/latest/wgpu/struct.Limits.html).
The `limits` field describes the limit of certain types of resources that we can create. We'll use the defaults for this tutorial so we can support most devices. You can view a list of limits [here](https://docs.rs/wgpu/latest/wgpu/struct.Limits.html).

```rust
let surface_caps = surface.get_capabilities(&adapter);
Expand Down

0 comments on commit 6271615

Please sign in to comment.