issue #6: fixed a compile error

This commit is contained in:
Ming 2010-08-06 06:04:49 +00:00
parent ffce4ec6b3
commit 410ca0f269
1 changed files with 8 additions and 10 deletions

View File

@ -59,21 +59,19 @@ CCConfiguration* CCConfiguration::init(void)
CCLOG("cocos2d: GL supports BGRA8888 textures: %s", (m_bSupportsBGRA8888 ? "YES" : "NO"));
CCLOG("cocos2d: GL supports NPOT textures: %s", (m_bSupportsNPOT ? "YES" : "NO"));
CCLOG("cocos2d: GL supports discard_framebuffer: %s", (m_bSupportsDiscardFramebuffer ? "YES" : "NO"));
CCLOG("cocos2d: compiled with NPOT support: %s",
#if CC_TEXTURE_NPOT_SUPPORT
"YES"
#ifdef CC_TEXTURE_NPOT_SUPPORT
CCLOG("cocos2d: compiled with NPOT support: %s", "YES");
#else
"NO"
CCLOG("cocos2d: compiled with NPOT support: %s", "NO");
#endif // CC_TEXTURE_NPOT_SUPPORT
);
CCLOG("cocos2d: compiled with VBO support in TextureAtlas : %s",
#if CC_TEXTURE_ATLAS_USES_VBO
"YES"
#ifdef CC_TEXTURE_ATLAS_USES_VBO
CCLOG("cocos2d: compiled with VBO support in TextureAtlas : %s", "YES");
#else
"NO"
CCLOG("cocos2d: compiled with VBO support in TextureAtlas : %s", "NO");
#endif // CC_TEXTURE_ATLAS_USES_VBO
);
return this;