mirror of https://github.com/axmolengine/axmol.git
change the base resource path
This commit is contained in:
parent
b9ce266ee3
commit
a4bfa976b3
|
@ -72,7 +72,7 @@ bool AppDelegate::initInstance()
|
||||||
|| ! pMainWnd->Create("cocos2d: tests", 480, 320, 480, 320));
|
|| ! pMainWnd->Create("cocos2d: tests", 480, 320, 480, 320));
|
||||||
|
|
||||||
//set the base resource folder pay attention to add "/"
|
//set the base resource folder pay attention to add "/"
|
||||||
CCFileUtils::setResourcePath("Res/");
|
CCFileUtils::setResourcePath("../Res/");
|
||||||
|
|
||||||
#endif // CC_PLATFORM_LINUX
|
#endif // CC_PLATFORM_LINUX
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue