Skip to content

Commit eec4a92

Browse files
committed
fixed issue #175
1 parent 9c5ca74 commit eec4a92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

virtualization_view.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ - (void)setupGraphicWindow
454454
- (NSSize)getVirtualMachineSizeInPixels
455455
{
456456
__block NSSize sizeInPixels;
457+
#ifdef INCLUDE_TARGET_OSX_14
457458
if (@available(macOS 14.0, *)) {
458459
dispatch_sync(_queue, ^{
459460
if (_virtualMachine.graphicsDevices.count > 0) {
@@ -465,6 +466,7 @@ - (NSSize)getVirtualMachineSizeInPixels
465466
}
466467
});
467468
}
469+
#endif
468470
return sizeInPixels;
469471
}
470472

0 commit comments

Comments
 (0)