Commit b7105bde authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

winemac: Remove the unused WineContentView _retinaMode variable.

parent e9aafe0b
...@@ -359,7 +359,6 @@ static CVReturn WineDisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTi ...@@ -359,7 +359,6 @@ static CVReturn WineDisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTi
NSMutableAttributedString* markedText; NSMutableAttributedString* markedText;
NSRange markedTextSelection; NSRange markedTextSelection;
BOOL _retinaMode;
int backingSize[2]; int backingSize[2];
WineMetalView *_metalView; WineMetalView *_metalView;
...@@ -676,7 +675,6 @@ static CVReturn WineDisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTi ...@@ -676,7 +675,6 @@ static CVReturn WineDisplayLinkCallback(CVDisplayLinkRef displayLink, const CVTi
[self setWantsBestResolutionOpenGLSurface:mode]; [self setWantsBestResolutionOpenGLSurface:mode];
[self updateGLContexts]; [self updateGLContexts];
_retinaMode = !!mode;
[self layer].contentsScale = mode ? 2.0 : 1.0; [self layer].contentsScale = mode ? 2.0 : 1.0;
[self layer].minificationFilter = mode ? kCAFilterLinear : kCAFilterNearest; [self layer].minificationFilter = mode ? kCAFilterLinear : kCAFilterNearest;
[self layer].magnificationFilter = mode ? kCAFilterLinear : kCAFilterNearest; [self layer].magnificationFilter = mode ? kCAFilterLinear : kCAFilterNearest;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment