clean up unneeded commented out lined

This commit is contained in:
Gray Olson 2018-07-07 00:57:06 -07:00
parent 462e7760de
commit ef011ebc39

View file

@ -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 {