From 607b5351351f4aa0b9d140b6674411cb6b38b133 Mon Sep 17 00:00:00 2001 From: Yutaro Ohno Date: Thu, 25 Jul 2024 03:04:52 +0900 Subject: [PATCH] Fix indentations --- docs/beginner/tutorial2-surface/README.md | 2 +- docs/intermediate/tutorial13-hdr/readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/beginner/tutorial2-surface/README.md b/docs/beginner/tutorial2-surface/README.md index 041381b5..5a121342 100644 --- a/docs/beginner/tutorial2-surface/README.md +++ b/docs/beginner/tutorial2-surface/README.md @@ -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() diff --git a/docs/intermediate/tutorial13-hdr/readme.md b/docs/intermediate/tutorial13-hdr/readme.md index 28421a88..9be17ad4 100644 --- a/docs/intermediate/tutorial13-hdr/readme.md +++ b/docs/intermediate/tutorial13-hdr/readme.md @@ -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 )