From c24e0f9d2c9253b4a28d2707380a0da837dad637 Mon Sep 17 00:00:00 2001 From: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com> Date: Wed, 2 Oct 2019 13:37:16 -0400 Subject: [PATCH] Revert "videoView: force redraw" This reverts commit 7973c15b06af4a5398770e8e1ad89f5bd62ec360. Change-Id: Iba35af47bdb2157959a18a6d749339afc648d618 --- src/RingWindowController.mm | 1 + src/views/CallMTKView.mm | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RingWindowController.mm b/src/RingWindowController.mm index b99afbc9..bb0ab05a 100644 --- a/src/RingWindowController.mm +++ b/src/RingWindowController.mm @@ -178,6 +178,7 @@ typedef NS_ENUM(NSInteger, ViewState) { [chooseAccountVC updateWithDelegate: self andModel:self.accountModel]; settingsVC = [[AccountSettingsVC alloc] initWithNibName:@"AccountSettings" bundle:nil accountmodel:self.accountModel]; [callView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; + [[currentCallVC view] setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; [[conversationVC view] setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; [[settingsVC view] setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable]; diff --git a/src/views/CallMTKView.mm b/src/views/CallMTKView.mm index 326041d4..f4441103 100644 --- a/src/views/CallMTKView.mm +++ b/src/views/CallMTKView.mm @@ -215,7 +215,6 @@ bool frameDisplayed = false; [commandEncoder endEncoding]; [commandBuffer presentDrawable:drawable]; [commandBuffer commit]; - [self draw]; } -(simd::float4x4) getScalingMatrix:(CGFloat) ratio axis:(char) axis { -- GitLab