Minor refactoring
Use `const std::array<...>` instead of `const std::vector<...>`.
This commit is contained in:
parent
d0f14585b6
commit
38f7248f49
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
||||||
static std::vector<const char *> VK_EXTENSIONS = {};
|
static std::vector<const char *> VK_EXTENSIONS = {};
|
||||||
|
|
||||||
#if VULKAN_VALIDATION == 1
|
#if VULKAN_VALIDATION == 1
|
||||||
const std::vector<const char *> VALIDATION_LAYERS = {
|
const std::array<const char *, 1> VALIDATION_LAYERS = {
|
||||||
"VK_LAYER_KHRONOS_validation"};
|
"VK_LAYER_KHRONOS_validation"};
|
||||||
|
|
||||||
static VKAPI_ATTR VkBool32 VKAPI_CALL fn_VULKAN_DEBUG_CALLBACK(
|
static VKAPI_ATTR VkBool32 VKAPI_CALL fn_VULKAN_DEBUG_CALLBACK(
|
||||||
|
|
Loading…
Reference in a new issue