From b39e4edfab318c8dfe42637456138d3166262258 Mon Sep 17 00:00:00 2001 From: Vivian Lim Date: Wed, 6 May 2020 23:38:31 -0700 Subject: [PATCH] Disable vulkan debug layer --- src/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.rs b/src/window.rs index 22ea34e..dd9457e 100644 --- a/src/window.rs +++ b/src/window.rs @@ -149,7 +149,7 @@ impl WindowWrapper { let sdl_window_wrapper = Sdl2Window::new(&sdl_window); RendererBuilder::new() .prefer_integrated_gpu() - .use_vulkan_debug_layer(true) + .use_vulkan_debug_layer(false) .present_mode_priority(vec![PresentMode::Immediate]) .coordinate_system(CoordinateSystem::Logical) .build(&sdl_window_wrapper)