From 427678910a87671d7261bfb3fd9c941183760a6e Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 12 Oct 2022 13:22:30 +0200 Subject: [PATCH] Fix comment --- crates/fj-viewer/src/graphics/renderer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/fj-viewer/src/graphics/renderer.rs b/crates/fj-viewer/src/graphics/renderer.rs index da13fb72d..b7dbda831 100644 --- a/crates/fj-viewer/src/graphics/renderer.rs +++ b/crates/fj-viewer/src/graphics/renderer.rs @@ -62,10 +62,10 @@ impl Renderer { let available_features = adapter.features(); // By requesting the intersection of desired and available features, - // we ensure two things: + // we prevent two things: // - // 1. That requesting the device doesn't panic, which would happen - // if we requested unavailable features. + // 1. That requesting the device panics, which would happen if we + // requested unavailable features. // 2. That a developer ends up accidentally using features that // happen to be available on their machine, but that aren't // necessarily available for all the users.