Revert "Mac: prefer integrated GPU"

This reverts commit cf1a5901fc.
This commit is contained in:
Michael Buckley 2022-02-02 10:53:32 -08:00
parent 8b1f127404
commit 68f536dcbe

View File

@ -3119,23 +3119,6 @@ void QuitWithFatalError ( NSString *message)
[s9xView addConstraint:[NSLayoutConstraint constraintWithItem:s9xView attribute:NSLayoutAttributeHeight relatedBy:NSLayoutRelationGreaterThanOrEqual toItem:nil attribute:NSLayoutAttributeNotAnAttribute multiplier:1.0 constant:SNES_HEIGHT * 2.0]];
s9xView.device = MTLCreateSystemDefaultDevice();
S9xInitDisplay(NULL, NULL);
id<MTLDevice> device = nil;
for ( id<MTLDevice> candidate in MTLCopyAllDevices() )
{
if ( candidate.isLowPower )
{
device = candidate;
break;
}
}
if ( device == nil )
{
device = MTLCreateSystemDefaultDevice();
}
s9xView.device = device;
}
- (void)start