Skip to content

Commit

Permalink
Merge pull request #60 from Trikzon/fix-1
Browse files Browse the repository at this point in the history
Fix Dawn toggleCount member names in device chapter
  • Loading branch information
eliemichel committed Jun 17, 2024
2 parents 72f210c + 9f8de94 commit 6acd05d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions getting-started/adapter-and-device/the-device.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@ desc.nextInChain = nullptr;
WGPUDawnTogglesDescriptor toggles;
toggles.chain.next = nullptr;
toggles.chain.sType = WGPUSType_DawnTogglesDescriptor;
toggles.disabledTogglesCount = 0;
toggles.enabledTogglesCount = 1;
toggles.disabledToggleCount = 0;
toggles.enabledToggleCount = 1;
const char* toggleName = "enable_immediate_error_handling";
toggles.enabledToggles = &toggleName;
Expand Down

0 comments on commit 6acd05d

Please sign in to comment.