We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f4ab30c + c099985 commit 7bf49daCopy full SHA for 7bf49da
cocos2d/Platforms/Mac/CCDirectorMac.m
@@ -150,7 +150,10 @@ - (void) setFullScreen:(BOOL)fullscreen
150
151
// Show the fullscreen window
152
[_fullScreenWindow makeKeyAndOrderFront:self];
153
- [_fullScreenWindow makeMainWindow];
+ [_fullScreenWindow makeMainWindow];
154
+ // issue #632
155
+ self.view.wantsBestResolutionOpenGLSurface = NO;
156
+
157
158
} else {
159
@@ -168,7 +171,10 @@ - (void) setFullScreen:(BOOL)fullscreen
168
171
169
172
// Show the window
170
173
[_windowGLView makeKeyAndOrderFront:self];
- [_windowGLView makeMainWindow];
174
+ [_windowGLView makeMainWindow];
175
176
+ self.view.wantsBestResolutionOpenGLSurface = YES;
177
178
}
179
180
// issue #1189
0 commit comments