diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-01-05 19:55:01 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-05 19:55:01 +0530 |
| commit | 9f86705fa64db7c1569f9244673e97376ae75782 (patch) | |
| tree | 726e0274aefef13792d85cac5198844c43dfc787 /Cargo.toml | |
| parent | 611993fbe020a0668da103b7c1a9c2f1d9d25d4e (diff) | |
chore(ext/webgpu): include GPUCanvasContext in snapshot (#21773)
Part 1 of #21713
Changes:
- Remove `.present()` and add a `presentGPUCanvasContext` (not exposed
yet to users)
- Move lazy load logic to `00_init.js`. This can be used to use webgpu
on-demand from future code (OffScreenCanvas)
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml index f4bcfcb35..5d388196b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -172,7 +172,7 @@ hkdf = "0.12.3" # webgpu raw-window-handle = "0.5.0" -wgpu-core = "=0.18" +wgpu-core = { version = "=0.18", features = ["raw-window-handle"] } wgpu-types = "=0.18" wgpu-hal = "=0.18" |
