This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -562,7 +562,7 @@ InferVulkanPlatformViewCreationCallback(
562
562
563
563
auto vk_instance = static_cast <VkInstance>(config->vulkan .instance );
564
564
auto proc_addr =
565
- vulkan_get_instance_proc_address (vk_instance, " GetInstanceProcAddr " );
565
+ vulkan_get_instance_proc_address (vk_instance, " vkGetInstanceProcAddr " );
566
566
567
567
flutter::EmbedderSurfaceVulkan::VulkanDispatchTable vulkan_dispatch_table = {
568
568
.get_instance_proc_address =
Original file line number Diff line number Diff line change @@ -513,7 +513,8 @@ void EmbedderConfigBuilder::InitializeVulkanRendererConfig() {
513
513
[](void * context, FlutterVulkanInstanceHandle instance,
514
514
const char * name) -> void * {
515
515
auto proc_addr = reinterpret_cast <EmbedderTestContextVulkan*>(context)
516
- ->vulkan_context_ ->vk_ ->GetInstanceProcAddr ;
516
+ ->vulkan_context_ ->vk_ ->GetInstanceProcAddr (
517
+ reinterpret_cast <VkInstance>(instance), name);
517
518
return reinterpret_cast <void *>(proc_addr);
518
519
};
519
520
vulkan_renderer_config_.get_next_image_callback =
You can’t perform that action at this time.
0 commit comments