vulkan_common: enable OpenGL interop on other Unices

This commit is contained in:
Jan Beich
2021-03-28 22:58:48 +00:00
parent fb7dcbf7af
commit 9b50b23a50
2 changed files with 5 additions and 5 deletions

View File

@ -51,7 +51,7 @@ constexpr std::array REQUIRED_EXTENSIONS{
#ifdef _WIN32
VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME,
#endif
#ifdef __linux__
#ifdef __unix__
VK_KHR_EXTERNAL_MEMORY_FD_EXTENSION_NAME,
#endif
};