[Visualization] Remove default Metal device option

Remove the default Metal device option, as it can return nil on systems
where it won't be expected to work.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
swiftingly
Christopher Snowhill 2022-05-28 19:32:26 -07:00
parent ec18d0b260
commit 539a8c79eb
1 changed files with 0 additions and 1 deletions

View File

@ -47,7 +47,6 @@ extern NSString *CogPlaybackDidStopNotficiation;
- (id)initWithFrame:(NSRect)frame {
NSDictionary *sceneOptions = @{
SCNPreferredRenderingAPIKey: @(SCNRenderingAPIMetal),
SCNPreferredDeviceKey: MTLCreateSystemDefaultDevice(),
SCNPreferLowPowerDeviceKey: @(NO)
};