Skip to content

Commit e72374a

Browse files
committed
[macOS/iOS] Fix build with Xcode older than 26.
1 parent 2cb2c1f commit e72374a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/metal/rendering_device_driver_metal.mm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@
6565
#import <os/signpost.h>
6666
#include <algorithm>
6767

68+
#ifndef MTLGPUAddress
69+
typedef uint64_t MTLGPUAddress;
70+
#endif
71+
6872
#pragma mark - Logging
6973

7074
extern os_log_t LOG_DRIVER;

0 commit comments

Comments
 (0)