Skip to content

Commit

Permalink
Merge pull request #72 from devprofile98/patch-1
Browse files Browse the repository at this point in the history
incorrect return type
  • Loading branch information
eliemichel authored Feb 8, 2025
2 parents 698d7fc + e52c9bd commit 84a984c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getting-started/adapter-and-device/the-device.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Requesting the device looks a lot like requesting the adapter, so we will use a
```{lit} C++, Request device function
/**
* Utility function to get a WebGPU device, so that
* WGPUAdapter device = requestDeviceSync(adapter, options);
* WGPUDevice device = requestDeviceSync(adapter, options);
* is roughly equivalent to
* const device = await adapter.requestDevice(descriptor);
* It is very similar to requestAdapter
Expand Down

0 comments on commit 84a984c

Please sign in to comment.