From bf08b6040a110e7210ff3d056cbca65bd6be41ca Mon Sep 17 00:00:00 2001 From: Ricardo Quesada Date: Thu, 30 May 2013 16:29:36 -0700 Subject: [PATCH] uses the cocos2d.x namespace for "cocos2d x" configuration values --- cocos2dx/CCConfiguration.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cocos2dx/CCConfiguration.cpp b/cocos2dx/CCConfiguration.cpp index 96c7019a75..a102faea19 100644 --- a/cocos2dx/CCConfiguration.cpp +++ b/cocos2dx/CCConfiguration.cpp @@ -60,19 +60,19 @@ bool CCConfiguration::init(void) m_pDefaults = CCDictionary::create(); m_pDefaults->retain(); - m_pDefaults->setObject( CCString::create( cocos2dVersion() ), "cocos2d.version"); + m_pDefaults->setObject( CCString::create( cocos2dVersion() ), "cocos2d.x.version"); #if CC_ENABLE_PROFILERS - m_pDefaults->setObject( CCBool::create(true), "cocos2d.compiled_with_profiler"); + m_pDefaults->setObject( CCBool::create(true), "cocos2d.x.compiled_with_profiler"); #else - m_pDefaults->setObject( CCBool::create(false), "cocos2d.compiled_with_profiler"); + m_pDefaults->setObject( CCBool::create(false), "cocos2d.x.compiled_with_profiler"); #endif #if CC_ENABLE_GL_STATE_CACHE == 0 - m_pDefaults->setObject( CCBool::create(false), "cocos2d.compiled_with_gl_state_cache"); + m_pDefaults->setObject( CCBool::create(false), "cocos2d.x.compiled_with_gl_state_cache"); #else - m_pDefaults->setObject( CCBool::create(true), "cocos2d.compiled_with_gl_state_cache"); + m_pDefaults->setObject( CCBool::create(true), "cocos2d.x.compiled_with_gl_state_cache"); #endif return true;