mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 05:53:41 +00:00
15 lines
368 B
Swift
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")
|
||
|
}
|
||
|
}
|