Update ID of validation layers
This commit is contained in:
parent
3977329697
commit
312dc5e51c
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <vulkan/vulkan.hpp>
|
||||
|
||||
const std::vector<const char*> validationLayers = {
|
||||
"VK_LAYER_LUNARG_standard_validation"
|
||||
"VK_LAYER_KHRONOS_validation"
|
||||
};
|
||||
#ifdef NDEBUG
|
||||
const bool enableValidationLayers = false;
|
||||
|
@ -207,4 +207,4 @@ int main() {
|
|||
}
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
|
2
main.cpp
2
main.cpp
|
@ -21,7 +21,7 @@ const int WIDTH = 1200;
|
|||
const int HEIGHT = 900;
|
||||
|
||||
const std::vector<const char*> validationLayers = {
|
||||
"VK_LAYER_LUNARG_standard_validation"
|
||||
"VK_LAYER_KHRONOS_validation"
|
||||
};
|
||||
|
||||
const std::vector<const char*> deviceExtensions = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue