Skip to content

Commit

Permalink
Use vk::detail::DynamicLoader instead of vk::DynamicLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat authored Jan 6, 2025
1 parent b559725 commit fd8d261
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/renderer_vk/renderer_vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ void RendererVK::display() {
void RendererVK::initGraphicsContext(SDL_Window* window) {
targetWindow = window;
// Resolve all instance function pointers
static vk::DynamicLoader dl;
static vk::detail::DynamicLoader dl;
VULKAN_HPP_DEFAULT_DISPATCHER.init(dl.getProcAddress<PFN_vkGetInstanceProcAddr>("vkGetInstanceProcAddr"));

// Create Instance
Expand Down Expand Up @@ -1588,4 +1588,4 @@ void RendererVK::deinitGraphicsContext() {

// TODO: Make it so that depth and colour buffers get written back to 3DS memory
printf("RendererVK::DeinitGraphicsContext called\n");
}
}

0 comments on commit fd8d261

Please sign in to comment.