Skip to content

Commit 49b401b

Browse files
committed
Merge branch 'v3.2' into develop
Conflicts: VERSION cocos2d/CCLabelTTF.m cocos2d/CCRenderer.m external/ObjectAL
2 parents 5f1270c + f7e8258 commit 49b401b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.0-alpha.1
1+
3.3.0-alpha.1

cocos2d-ui/CCBReader/CCBReader.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,7 @@ - (CCNode*) readNodeGraphParent:(CCNode*)parent
13401340
// Class was not found. Maybe it's a Swift class?
13411341
// See http://stackoverflow.com/questions/24030814/swift-language-nsclassfromstring
13421342
NSString *appName = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"];
1343-
NSString *classStringName = [NSString stringWithFormat:@"_TtC%d%@%d%@", appName.length, appName, className.length, className];
1343+
NSString *classStringName = [NSString stringWithFormat:@"_TtC%lu%@%lu%@", (unsigned long)appName.length, appName, (unsigned long)className.length, className];
13441344
class = NSClassFromString(classStringName);
13451345
}
13461346
if (!class)

cocos2d/CCRenderTexture.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ - (void)clearDepth:(float)depthValue
469469
- (void)clearStencil:(int)stencilValue
470470
{
471471
[self begin];
472-
[_renderer enqueueClear:GL_DEPTH_BUFFER_BIT color:GLKVector4Make(0, 0, 0, 0) depth:0.0 stencil:stencilValue globalSortOrder:NSIntegerMin];
472+
[_renderer enqueueClear:GL_STENCIL_BUFFER_BIT color:GLKVector4Make(0, 0, 0, 0) depth:0.0 stencil:stencilValue globalSortOrder:NSIntegerMin];
473473
[self end];
474474
}
475475

cocos2d/cocos2d.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
// 0x00 HI ME LO
4343
// 00 03 01 01
44-
#define COCOS2D_VERSION 0x00030200
44+
#define COCOS2D_VERSION 0x00030201
4545
#define COCOS2D_BUILD @"release"
4646
//
4747
// all cocos2d include files

0 commit comments

Comments
 (0)