mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-09 15:45:40 +12:00
Fix instance extensions on MacOS
These preprocessors were combining into a singular string rather than the name of two individual extensions. Whoops.
This commit is contained in:
parent
eff62d3de7
commit
444d50eaf5
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ void RendererVK::reset() {}
|
|||
void RendererVK::display() {}
|
||||
|
||||
void RendererVK::initGraphicsContext(SDL_Window* window) {
|
||||
// Resolve all function pointers
|
||||
// Resolve all instance function pointers
|
||||
static vk::DynamicLoader dl;
|
||||
VULKAN_HPP_DEFAULT_DISPATCHER.init(dl.getProcAddress<PFN_vkGetInstanceProcAddr>("vkGetInstanceProcAddr"));
|
||||
|
||||
|
@ -33,7 +33,7 @@ void RendererVK::initGraphicsContext(SDL_Window* window) {
|
|||
|
||||
static const std::array instanceExtensions = std::to_array({
|
||||
#if defined(__APPLE__)
|
||||
VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME
|
||||
VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME,
|
||||
#endif
|
||||
VK_EXT_DEBUG_UTILS_EXTENSION_NAME,
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue