Skip to content

Commit

Permalink
Removing delegate message filter for window size change. This was pre…
Browse files Browse the repository at this point in the history
…venting a delegate message from properly setting Plasma resolution on launch.
  • Loading branch information
colincornaby committed Nov 4, 2023
1 parent 32105c3 commit 36062dd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Sources/Plasma/Apps/plClient/Mac-Cocoa/PLSView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,6 @@ - (void)resizeDrawable:(CGFloat)scaleFactor
}

#if PLASMA_PIPELINE_METAL
if (newSize.width == _metalLayer.drawableSize.width &&
newSize.height == _metalLayer.drawableSize.height)
{
return;
}

_metalLayer.drawableSize = newSize;
#endif
[self.delegate renderView:self
Expand Down

0 comments on commit 36062dd

Please sign in to comment.