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.
1 parent 140c186 commit f1dbc31Copy full SHA for f1dbc31
templates/cpp-template-default/proj.ios_mac/ios/RootViewController.mm
@@ -49,8 +49,8 @@ - (void)loadView {
49
depthFormat: cocos2d::GLViewImpl::_depthFormat
50
preserveBackbuffer: NO
51
sharegroup: nil
52
- multiSampling: cocos2d::GLViewImpl::_multisamling
53
- numberOfSamples: cocos2d::GLViewImpl::_samples ];
+ multiSampling: cocos2d::GLViewImpl::_multisamplingCount > 0 ? YES : NO
+ numberOfSamples: cocos2d::GLViewImpl::_multisamplingCount ];
54
55
// Enable or disable multiple touches
56
[eaglView setMultipleTouchEnabled:NO];
0 commit comments