Skip to content

Commit

Permalink
disable validation even on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Uriopass committed Jul 11, 2024
1 parent 6995ab1 commit 64f24df
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions engine/src/gfx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ impl GfxContext {
wgpu::InstanceFlags::empty()
};

if cfg!(target_os = "windows") {
flags = flags | wgpu::InstanceFlags::VALIDATION
}

let instance = wgpu::Instance::new(InstanceDescriptor {
backends,
dx12_shader_compiler: Default::default(),
Expand Down

0 comments on commit 64f24df

Please sign in to comment.