Skip to content

Commit

Permalink
Merge pull request #572 from fazil47/patch-1
Browse files Browse the repository at this point in the history
Fix typo in tutorial 2
  • Loading branch information
sotrh authored Oct 13, 2024
2 parents ad3d08b + ec382ff commit 494f265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/beginner/tutorial2-surface/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ You can view a full list of features [here](https://docs.rs/wgpu/latest/wgpu/str

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).

The `memory_hints` field provides the adapter with a preferred memory allocation strategy, if supproted. You can view the available options [here](https://wgpu.rs/doc/wgpu/enum.MemoryHints.html).
The `memory_hints` field provides the adapter with a preferred memory allocation strategy, if supported. You can view the available options [here](https://wgpu.rs/doc/wgpu/enum.MemoryHints.html).

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

0 comments on commit 494f265

Please sign in to comment.