Skip to content

Commit 9b0620b

Browse files
committed
Merge pull request #112185 from bruvzg/pre26_mac
[macOS/iOS] Fix build with Xcode older than 26.
2 parents 1c7f1b2 + e72374a commit 9b0620b

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)