Fall-back to OpenGL renderer if mac hardware doesn't support Metal
BUG=webrtc:7782 Review-Url: https://codereview.webrtc.org/2927983002 Cr-Commit-Position: refs/heads/master@{#18539}
This commit is contained in:
@ -50,7 +50,7 @@
|
||||
#pragma mark - Private
|
||||
|
||||
+ (BOOL)isMetalAvailable {
|
||||
return YES;
|
||||
return [MTLCopyAllDevices() count] > 0;
|
||||
}
|
||||
|
||||
- (void)configure {
|
||||
|
||||
Reference in New Issue
Block a user