yattee/macOS/MPVOGLView.swift

15 lines
368 B
Swift
Raw Normal View History

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