callView: use explicit rendering mode
Change-Id: I964a484f791cf18516e1c3598d2d174bfe331c02
diff --git a/src/views/CallMTKView.mm b/src/views/CallMTKView.mm
index 326041d..4b4df85 100644
--- a/src/views/CallMTKView.mm
+++ b/src/views/CallMTKView.mm
@@ -111,6 +111,8 @@
depthStateDescriptor.depthWriteEnabled = NO;
depthState = [device newDepthStencilStateWithDescriptor:depthStateDescriptor];
self.preferredFramesPerSecond = 30;
+ self.paused = YES;
+ self.enableSetNeedsDisplay = NO;
}
- (void)fillWithBlack {