[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>
This commit is contained in:
Christopher Snowhill 2022-05-28 19:32:26 -07:00
parent ec18d0b260
commit 539a8c79eb

View file

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