mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-12 09:09:47 +12:00
Use vk::detail::DynamicLoader instead of vk::DynamicLoader
This commit is contained in:
parent
b559725920
commit
fd8d2615e2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue