Fix build

This commit is contained in:
Ali 2023-11-10 15:29:50 +04:00
parent 13144c24f1
commit be54fd93b2

View File

@ -898,7 +898,11 @@ public final class MetalEngine {
fileprivate let impl: Impl
public var rootLayer: CALayer {
#if targetEnvironment(simulator)
return self.impl._layer
#else
return self.impl.layer
#endif
}
public var device: MTLDevice {