Skip to content

Commit 4325c55

Browse files
committed
Disables retina display by default, and makes it possible to use or not to use retina display.
Former-commit-id: 428d16c
1 parent ea1d44b commit 4325c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos2d/CCDirector.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ -(void) setView:(CCGLView*)view
331331
#ifdef __CC_PLATFORM_IOS
332332
CGFloat scale = __view.layer.contentsScale ?: 1.0;
333333
#else
334-
self.view.wantsBestResolutionOpenGLSurface = YES;
334+
//self.view.wantsBestResolutionOpenGLSurface = YES;
335335
CGFloat scale = self.view.window.backingScaleFactor;
336336
#endif
337337

0 commit comments

Comments
 (0)