fix catalyst
1f6c900c
Levin Li
committed
succeeded
1 changed file
angle.apple.patch
/angle.apple.patch+13
/angle.apple.patch
Add comment 69 // On iOS, shared libraries must be loaded from within the app bundle.
Add comment 70 directory = GetExecutableDirectory() + "/Frameworks/";
Add comment 71 #elif ANGLE_PLATFORM_FUCHSIA
Add comment 72 Plus  diff --git a/src/gpu_info_util/SystemInfo_internal.h b/src/gpu_info_util/SystemInfo_internal.h
Add comment 73 Plus  index 5cef5d49e..030d0ccad 100644
Add comment 74 Plus  --- a/src/gpu_info_util/SystemInfo_internal.h
Add comment 75 Plus  +++ b/src/gpu_info_util/SystemInfo_internal.h
Add comment 76 Plus  @@ -43,7 +43,7 @@ uint64_t GetGpuIDFromOpenGLDisplayMask(uint32_t displayMask);
Add comment 77 Plus  
Add comment 78 Plus   #endif
Add comment 79 Plus  
Add comment 80 Plus  -#if defined(ANGLE_PLATFORM_MACOS) && ANGLE_ENABLE_METAL
Add comment 81 Plus  +#if (defined(ANGLE_PLATFORM_MACOS) || defined(ANGLE_PLATFORM_MACCATALYST)) && ANGLE_ENABLE_METAL
Add comment 82 Plus   // Get VendorID from metal device's registry ID
Add comment 83 Plus   VendorID GetVendorIDFromMetalDeviceRegistryID(uint64_t registryID);
Add comment 84 Plus   #endif
Add comment 72 85 diff --git a/src/libGLESv2.gni b/src/libGLESv2.gni
Add comment 73 86 index 41bd81aa1..b6b36ccb4 100644
Add comment 74 87 --- a/src/libGLESv2.gni