From 539a8c79eb64b061ca2712370ba919a931e4c852 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sat, 28 May 2022 19:32:26 -0700 Subject: [PATCH] [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 --- Visualization/SpectrumView.m | 1 - 1 file changed, 1 deletion(-) diff --git a/Visualization/SpectrumView.m b/Visualization/SpectrumView.m index 032427296..07c581b2f 100644 --- a/Visualization/SpectrumView.m +++ b/Visualization/SpectrumView.m @@ -47,7 +47,6 @@ extern NSString *CogPlaybackDidStopNotficiation; - (id)initWithFrame:(NSRect)frame { NSDictionary *sceneOptions = @{ SCNPreferredRenderingAPIKey: @(SCNRenderingAPIMetal), - SCNPreferredDeviceKey: MTLCreateSystemDefaultDevice(), SCNPreferLowPowerDeviceKey: @(NO) };