mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
mac: fix type mismatch Int instead of Int32
This commit is contained in:
@@ -441,7 +441,7 @@ class Common: NSObject {
|
||||
videoOut vo: UnsafeMutablePointer<vo>) -> NSRect {
|
||||
let r = targetScreen.convertRectToBacking(targetScreen.frame)
|
||||
let targetFrame =
|
||||
(mpv?.macOpts.macos_geometry_calculation ?? FRAME_VISIBLE) == FRAME_VISIBLE ?
|
||||
(mpv?.macOpts.macos_geometry_calculation ?? Int32(FRAME_VISIBLE)) == FRAME_VISIBLE ?
|
||||
targetScreen.visibleFrame : targetScreen.frame
|
||||
let rv = targetScreen.convertRectToBacking(targetFrame)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user