From ef011ebc39380c7e7afac82877adb2751012ee9d Mon Sep 17 00:00:00 2001 From: Gray Olson Date: Sat, 7 Jul 2018 00:57:06 -0700 Subject: [PATCH] clean up unneeded commented out lined --- examples/src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/src/lib.rs b/examples/src/lib.rs index 98d786a..fcd1cf2 100644 --- a/examples/src/lib.rs +++ b/examples/src/lib.rs @@ -338,16 +338,11 @@ impl ExampleBase { let app_name = CString::new("VulkanTriangle").unwrap(); let raw_name = app_name.as_ptr(); - // MoltenVK does not support LunarG validation layer - // #[cfg(not(target_os = "macos"))] let layer_names = [CString::new("VK_LAYER_LUNARG_standard_validation").unwrap()]; - // #[cfg(not(target_os = "macos"))] let layers_names_raw: Vec<*const i8> = layer_names .iter() .map(|raw_name| raw_name.as_ptr()) .collect(); - // #[cfg(target_os = "macos")] - // let layers_names_raw: Vec<*const i8> = Vec::new(); let extension_names_raw = extension_names(); let appinfo = vk::ApplicationInfo {