Skip to content

Commit

Permalink
Fix soundness hole with wgpu
Browse files Browse the repository at this point in the history
- Adds a lifetime parameter to `Pixels` which is linked to the `HRWH` that is used for creating a `SurfaceTexture`.
- The lifetime parameter is basically incompatible with `winit`s inversion of control, but can be used with `async_winit` (or another wrapper crate that papers over the inversion of control issue).
- Fixes #238
  • Loading branch information
parasyte committed Jul 17, 2023
1 parent d140eba commit 9325078
Show file tree
Hide file tree
Showing 5 changed files with 428 additions and 208 deletions.
Loading

0 comments on commit 9325078

Please sign in to comment.