forked from gfx-rs/wgpu-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implements wgpuDeviceSetDeviceLostCallback() and wgpuDeviceSetUncapturedErrorCallback() wgpuDeviceCreateShaderModule() and wgpuSwapChainGetCurrentTextureView() have been ported to use handle_device_error(), meaning they no longer panic if an error occurs. Most (all?) check_error() uses should be converted to handle_device_error().
- Loading branch information
1 parent
9d962ef
commit 5ebd50e
Showing
2 changed files
with
126 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters