Skip to content

Commit 57c9bd6

Browse files
committed
Adding explanations for -ext in ccConfig
1 parent a7a4151 commit 57c9bd6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cocos2d/ccConfig.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,10 @@
166166
#define CC_SHADER_DEFAULT_FRAGMENT_PRECISION mediump
167167
#endif
168168

169+
/**
170+
If you disable one of this -ext you must remove corresponding files from your Xcode project
171+
or your may get errors when building project
172+
*/
169173
#ifndef CC_LIGHTING
170174
#define CC_LIGHTING 0
171175
#endif
@@ -178,6 +182,9 @@
178182
#define CC_CCBREADER 0
179183
#endif
180184

185+
/**
186+
For CCEffectLighting you need to enable both CC_EFFECTS and CC_LIGHTING
187+
*/
181188
#ifndef CC_EFFECTS
182189
#define CC_EFFECTS 0
183190
#endif

0 commit comments

Comments
 (0)