Brendan Shanks : winemac: Remove the unused WineContentView _retinaMode variable.
Module: wine Branch: master Commit: b7105bde7ce25acecd82b326f48b50aa994720c1 URL: https://gitlab.winehq.org/wine/wine/-/commit/b7105bde7ce25acecd82b326f48b50a... Author: Brendan Shanks <bshanks(a)codeweavers.com> Date: Wed May 10 16:31:28 2023 -0700 winemac: Remove the unused WineContentView _retinaMode variable. --- dlls/winemac.drv/cocoa_window.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/winemac.drv/cocoa_window.m b/dlls/winemac.drv/cocoa_window.m index ad0c97fb6b2..daa7b7e976c 100644 --- a/dlls/winemac.drv/cocoa_window.m +++ b/dlls/winemac.drv/cocoa_window.m @@ -359,7 +359,6 @@ static CVReturn WineDisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTi NSMutableAttributedString* markedText; NSRange markedTextSelection; - BOOL _retinaMode; int backingSize[2]; WineMetalView *_metalView; @@ -676,7 +675,6 @@ static CVReturn WineDisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTi [self setWantsBestResolutionOpenGLSurface:mode]; [self updateGLContexts]; - _retinaMode = !!mode; [self layer].contentsScale = mode ? 2.0 : 1.0; [self layer].minificationFilter = mode ? kCAFilterLinear : kCAFilterNearest; [self layer].magnificationFilter = mode ? kCAFilterLinear : kCAFilterNearest;
participants (1)
-
Alexandre Julliard