mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
docs: note that InstanceFlags::debugging enables _all_ recommended flags
This commit is contained in:
parent
c28466cc21
commit
01f77667a0
@ -913,7 +913,7 @@ impl Default for InstanceFlags {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl InstanceFlags {
|
impl InstanceFlags {
|
||||||
/// Enable debugging and validation flags.
|
/// Enable recommended debugging and validation flags.
|
||||||
pub fn debugging() -> Self {
|
pub fn debugging() -> Self {
|
||||||
InstanceFlags::DEBUG | InstanceFlags::VALIDATION | InstanceFlags::GPU_BASED_VALIDATION
|
InstanceFlags::DEBUG | InstanceFlags::VALIDATION | InstanceFlags::GPU_BASED_VALIDATION
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user