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(
562562
563563 auto vk_instance = static_cast <VkInstance>(config->vulkan .instance );
564564 auto proc_addr =
565- vulkan_get_instance_proc_address (vk_instance, " GetInstanceProcAddr " );
565+ vulkan_get_instance_proc_address (vk_instance, " vkGetInstanceProcAddr " );
566566
567567 flutter::EmbedderSurfaceVulkan::VulkanDispatchTable vulkan_dispatch_table = {
568568 .get_instance_proc_address =
Original file line number Diff line number Diff line change @@ -513,7 +513,8 @@ void EmbedderConfigBuilder::InitializeVulkanRendererConfig() {
513513 [](void * context, FlutterVulkanInstanceHandle instance,
514514 const char * name) -> void * {
515515 auto proc_addr = reinterpret_cast <EmbedderTestContextVulkan*>(context)
516- ->vulkan_context_ ->vk_ ->GetInstanceProcAddr ;
516+ ->vulkan_context_ ->vk_ ->GetInstanceProcAddr (
517+ reinterpret_cast <VkInstance>(instance), name);
517518 return reinterpret_cast <void *>(proc_addr);
518519 };
519520 vulkan_renderer_config_.get_next_image_callback =
You can’t perform that action at this time.
0 commit comments