Commit 8721561
Fix missing CA::MetalLayer declaration in BabylonNative.h
Include QuartzCore/CAMetalLayer.h explicitly so that CA::MetalLayer
is declared when BabylonNative.h is compiled. MTKView.h alone does
not guarantee the CA namespace is available in all build contexts
(e.g. the CI runner with Xcode 26).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 0a4d9b6 commit 8721561
1 file changed
Lines changed: 1 addition & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments