Skip to content

Commit

Permalink
Use flags from build config
Browse files Browse the repository at this point in the history
  • Loading branch information
hakolao committed Jan 24, 2024
1 parent 5f83fbe commit 7783def
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/device_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl DeviceConfig {
features: wgpu::Features::empty(),
limits: Limits::default(),
backends: Backends::all(),
instance_flags: InstanceFlags::VALIDATION,
instance_flags: InstanceFlags::from_build_config(),
}
}
}
Expand Down

0 comments on commit 7783def

Please sign in to comment.