yattee/macOS/MPVOGLView.swift
Arkadiusz Fal 94915b0496 Revert "Drop iOS 14 and macOS 11 support"
This reverts commit dcef7f47ff5194ccf6635c3f626fef1daee05514.
2023-10-15 13:35:23 +02:00

15 lines
368 B
Swift

import AppKit
final class MPVOGLView: NSView {
override init(frame frameRect: CGRect) {
super.init(frame: frameRect)
autoresizingMask = [.width, .height]
wantsBestResolutionOpenGLSurface = true
}
@available(*, unavailable)
required init?(coder _: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
}