Skip to content

Commit

Permalink
Adding explanations for -ext in ccConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
oxeron committed Mar 10, 2016
1 parent 1911148 commit 84c3ac9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cocos2d/ccConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@
#define CC_SHADER_DEFAULT_FRAGMENT_PRECISION mediump
#endif

/**
If you disable one of this -ext you must remove corresponding files from your Xcode project
or your may get errors when building project
*/
#ifndef CC_LIGHTING
#define CC_LIGHTING 0
#endif
Expand All @@ -178,6 +182,9 @@
#define CC_CCBREADER 0
#endif

/**
For CCEffectLighting you need to enable both CC_EFFECTS and CC_LIGHTING
*/
#ifndef CC_EFFECTS
#define CC_EFFECTS 0
#endif
Expand Down

0 comments on commit 84c3ac9

Please sign in to comment.