Skip to content

Commit

Permalink
Merge pull request #249 from rocketman123456/patch-1
Browse files Browse the repository at this point in the history
FIX bug : macos validation layer error message
  • Loading branch information
kwbm authored Jun 7, 2022
2 parents 4047716 + a496556 commit 57d447e
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,12 @@ namespace Pilot
const std::vector<char const*> m_validation_layers {"VK_LAYER_KHRONOS_validation"};
uint32_t m_vulkan_api_version {VK_API_VERSION_1_0};

std::vector<char const*> m_device_extensions = {VK_KHR_SWAPCHAIN_EXTENSION_NAME};
std::vector<char const*> m_device_extensions = {
VK_KHR_SWAPCHAIN_EXTENSION_NAME,
#if defined(__MACH__)
"VK_KHR_portability_subset"
#endif
};

VkDebugUtilsMessengerEXT m_debug_messenger {VK_NULL_HANDLE};
};
Expand Down

0 comments on commit 57d447e

Please sign in to comment.