Skip to content

Commit

Permalink
MoltenVK paths for XCFramework
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Mattello <[email protected]>
  • Loading branch information
JoeMatt committed May 14, 2024
1 parent 56e088b commit 921ab35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gfx/common/vulkan_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -2317,7 +2317,7 @@ bool vulkan_context_init(gfx_ctx_vulkan_data_t *vk,
#ifdef _WIN32
vulkan_library = dylib_load("vulkan-1.dll");
#elif __APPLE__
vulkan_library = dylib_load("libMoltenVK.dylib");
vulkan_library = dylib_load("MoltenVK.framework/MoltenVK");
#else
vulkan_library = dylib_load("libvulkan.so.1");
if (!vulkan_library)
Expand Down
2 changes: 1 addition & 1 deletion menu/menu_displaylist.c
Original file line number Diff line number Diff line change
Expand Up @@ -4346,7 +4346,7 @@ static unsigned menu_displaylist_parse_cores(
#ifdef IOS
/* For various reasons on iOS/tvOS, MoltenVK shows up
* in the cores directory; exclude it here */
if (string_is_equal(path, "libMoltenVK.dylib"))
if (string_is_equal(path, "MoltenVK.framework/MoltenVK"))
continue;
#endif

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"file_format_version" : "1.0.0",
"ICD": {
"library_path": "./libMoltenVK.dylib",
"library_path": "./MoltenVK.framework/MoltenVK",
"api_version" : "1.2.0",
"is_portability_driver" : true
}
Expand Down

0 comments on commit 921ab35

Please sign in to comment.