[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
parent
ec18d0b260
commit
539a8c79eb
|
@ -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)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue