mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-10-30 05:52:44 +00:00
fix (#1977)
This commit is contained in:
parent
5c32550cad
commit
e0af8af960
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user