Skip to content

Commit c2b7952

Browse files
committed
Fixing a build problem that looks to be a result of an XCode change
See cocos2d#1394
1 parent a5c3897 commit c2b7952

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cocos2d/CCRendererBasicTypes.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ @interface CCBlendModeCache : CCCache
5454

5555
@implementation CCBlendModeCache
5656

57-
-(id)objectForKey:(id<NSCopying>)options
57+
// See https://github.com/cocos2d/cocos2d-objc/issues/1394 - something changed in XCode 9.4? Original code broke around May 2018
58+
//-(id)objectForKey:(id<NSCopying>)options
59+
-(id)objectForKey:(id)options
5860
{
5961
CCBlendMode *blendMode = [self rawObjectForKey:options];
6062
if(blendMode) return blendMode;

0 commit comments

Comments
 (0)