Skip to content

Commit

Permalink
Fix indentations
Browse files Browse the repository at this point in the history
  • Loading branch information
ohno418 committed Jul 24, 2024
1 parent 6ca45ed commit 607b535
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/beginner/tutorial2-surface/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Let's use the `adapter` to create the device and queue.
required_features: wgpu::Features::empty(),
// WebGL doesn't support all of wgpu's features, so if
// we're building for the web, we'll have to disable some.
required_limits: if cfg!(target_arch = "wasm32") {
required_limits: if cfg!(target_arch = "wasm32") {
wgpu::Limits::downlevel_webgl2_defaults()
} else {
wgpu::Limits::default()
Expand Down
2 changes: 1 addition & 1 deletion docs/intermediate/tutorial13-hdr/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ let (device, queue) = adapter
// UPDATED!
features: wgpu::Features::all_webgpu_mask(),
// UPDATED!
required_limits: wgpu::Limits::downlevel_defaults(),
required_limits: wgpu::Limits::downlevel_defaults(),
},
None, // Trace path
)
Expand Down

0 comments on commit 607b535

Please sign in to comment.