mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
docs: note that InstanceFlags::debugging enables _all_ recommended flags
This commit is contained in:
@@ -913,7 +913,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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user