Skip to content

Commit 6ec2d0c

Browse files
committed
Renames PopErrorScopeStatus Error to EmptyStack.
1 parent a2da5f3 commit 6ec2d0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

webgpu.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ typedef enum WGPUPopErrorScopeStatus {
634634
/**
635635
* The error scope stack could not be popped, because it was empty.
636636
*/
637-
WGPUPopErrorScopeStatus_Error = 0x00000003,
637+
WGPUPopErrorScopeStatus_EmptyStack = 0x00000003,
638638
WGPUPopErrorScopeStatus_Force32 = 0x7FFFFFFF
639639
} WGPUPopErrorScopeStatus WGPU_ENUM_ATTRIBUTE;
640640

webgpu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ enums:
582582
- name: instance_dropped
583583
doc: |
584584
TODO
585-
- name: error
585+
- name: empty_stack
586586
doc: |
587587
The error scope stack could not be popped, because it was empty.
588588
- name: power_preference

0 commit comments

Comments
 (0)