Skip to content

Commit 2a6e9da

Browse files
committed
Merge commit 'f1dbc310ba6e7743b33e70354739270138bad4be' into scgamex-v3
* commit 'f1dbc310ba6e7743b33e70354739270138bad4be': fix a mistake of "V3 multisampling support cocos2d#18632" (cocos2d#18674) [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically (cocos2d#18665)
2 parents 7b1fc0e + f1dbc31 commit 2a6e9da

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

templates/cocos2dx_files.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,9 +528,7 @@
528528
"cocos/base/utlist.h",
529529
"cocos/cc_dummy.c",
530530
"cocos/cocos2d.cpp",
531-
"cocos/cocos2d.h",
532-
"cocos/precheader.cpp",
533-
"cocos/precheader.h",
531+
"cocos/cocos2d.h",
534532
"cocos/deprecated/CCArray.cpp",
535533
"cocos/deprecated/CCArray.h",
536534
"cocos/deprecated/CCBool.h",
@@ -1227,6 +1225,8 @@
12271225
"cocos/platform/winrt/sha1.h",
12281226
"cocos/platform/winrt/shaders/precompiledshaders.h",
12291227
"cocos/platform/winrt/targetver.h",
1228+
"cocos/precheader.cpp",
1229+
"cocos/precheader.h",
12301230
"cocos/renderer/CCBatchCommand.cpp",
12311231
"cocos/renderer/CCBatchCommand.h",
12321232
"cocos/renderer/CCCustomCommand.cpp",
@@ -4315,6 +4315,8 @@
43154315
"cocos/scripting/js-bindings/manual/spine/jsb_cocos2dx_spine_manual.h",
43164316
"cocos/scripting/js-bindings/manual/ui/jsb_cocos2dx_ui_manual.cpp",
43174317
"cocos/scripting/js-bindings/manual/ui/jsb_cocos2dx_ui_manual.h",
4318+
"cocos/scripting/js-bindings/precheader.cpp",
4319+
"cocos/scripting/js-bindings/precheader.h",
43184320
"cocos/scripting/js-bindings/proj.android/Android.mk",
43194321
"cocos/scripting/js-bindings/proj.ios_mac/cocos2d_js_bindings.xcodeproj/project.pbxproj",
43204322
"cocos/scripting/js-bindings/proj.win32/libjscocos2d.vcxproj",

templates/cpp-template-default/proj.ios_mac/ios/RootViewController.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ - (void)loadView {
4949
depthFormat: cocos2d::GLViewImpl::_depthFormat
5050
preserveBackbuffer: NO
5151
sharegroup: nil
52-
multiSampling: cocos2d::GLViewImpl::_multisamling
53-
numberOfSamples: cocos2d::GLViewImpl::_samples ];
52+
multiSampling: cocos2d::GLViewImpl::_multisamplingCount > 0 ? YES : NO
53+
numberOfSamples: cocos2d::GLViewImpl::_multisamplingCount ];
5454

5555
// Enable or disable multiple touches
5656
[eaglView setMultipleTouchEnabled:NO];

0 commit comments

Comments
 (0)