From 6bdd976491654054e714a46941b87788db788d94 Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Thu, 11 Jan 2024 15:27:16 -0500 Subject: [PATCH] docs: note that `InstanceFlags::debugging` enables _all_ recommended flags --- wgpu-types/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index e192db29c5..554e882225 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -917,7 +917,7 @@ impl Default for InstanceFlags { } impl InstanceFlags { - /// Enable debugging and validation flags. + /// Enable recommended debugging and validation flags. pub fn debugging() -> Self { InstanceFlags::DEBUG | InstanceFlags::VALIDATION | InstanceFlags::GPU_BASED_VALIDATION }