Skip to content

Commit

Permalink
Fix typo in README.md
Browse files Browse the repository at this point in the history
supproted -> supported
  • Loading branch information
fazil47 authored Sep 22, 2024
1 parent ad3d08b commit ec382ff
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 ec382ff

Please sign in to comment.