mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-30 07:50:03 +00:00
Fix build
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user