From 64f24dfb64a38e027588cabb69e3d7b02567e26c Mon Sep 17 00:00:00 2001 From: Paris DOUADY Date: Thu, 11 Jul 2024 11:06:03 +0200 Subject: [PATCH] disable validation even on windows --- engine/src/gfx.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/engine/src/gfx.rs b/engine/src/gfx.rs index 19958f56..f0e81620 100644 --- a/engine/src/gfx.rs +++ b/engine/src/gfx.rs @@ -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(),