yattee/macOS/MPVOGLView.swift
2022-10-27 18:03:57 +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")
}
}