This commit is contained in:
Codotaku 2022-09-13 20:11:54 +01:00 committed by GitHub
parent 5c32550cad
commit e0af8af960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,10 +58,6 @@ fn main() {
}
// NOTE: To simplify the example code we won't verify these layer(s) are actually in the layers list:
#[cfg(not(target_os = "macos"))]
let layers = vec!["VK_LAYER_LUNARG_standard_validation".to_owned()];
#[cfg(target_os = "macos")]
let layers = vec!["VK_LAYER_KHRONOS_validation".to_owned()];
// Important: pass the extension(s) and layer(s) when creating the vulkano instance