Update ID of validation layers

This commit is contained in:
Darren VanBuren 2025-02-06 04:02:13 -08:00
parent 3977329697
commit 312dc5e51c
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@
#include <vulkan/vulkan.hpp> #include <vulkan/vulkan.hpp>
const std::vector<const char*> validationLayers = { const std::vector<const char*> validationLayers = {
"VK_LAYER_LUNARG_standard_validation" "VK_LAYER_KHRONOS_validation"
}; };
#ifdef NDEBUG #ifdef NDEBUG
const bool enableValidationLayers = false; const bool enableValidationLayers = false;
@ -207,4 +207,4 @@ int main() {
} }
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }

View file

@ -21,7 +21,7 @@ const int WIDTH = 1200;
const int HEIGHT = 900; const int HEIGHT = 900;
const std::vector<const char*> validationLayers = { const std::vector<const char*> validationLayers = {
"VK_LAYER_LUNARG_standard_validation" "VK_LAYER_KHRONOS_validation"
}; };
const std::vector<const char*> deviceExtensions = { const std::vector<const char*> deviceExtensions = {