summaryrefslogtreecommitdiffstats
path: root/video/out/mac/gl_layer.swift
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/mac/gl_layer.swift')
-rw-r--r--video/out/mac/gl_layer.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/mac/gl_layer.swift b/video/out/mac/gl_layer.swift
index 79df1e9c80..dd96af7265 100644
--- a/video/out/mac/gl_layer.swift
+++ b/video/out/mac/gl_layer.swift
@@ -109,7 +109,7 @@ class GLLayer: CAOpenGLLayer {
autoresizingMask = [.layerWidthSizable, .layerHeightSizable]
backgroundColor = NSColor.black.cgColor
- if #available(macOS 10.12, *), bufferDepth > 8 {
+ if bufferDepth > 8 {
contentsFormat = .RGBA16Float
}