revert modification of AppDelegate.cpp

This commit is contained in:
minggo 2012-09-24 17:24:00 +08:00
parent eb952e7c69
commit a568c1d221
1 changed files with 1 additions and 3 deletions

View File

@ -33,12 +33,10 @@ bool AppDelegate::applicationDidFinishLaunching() {
// iphone
// try to enable retina on device
// notice: passby CCDirecor::enableRetinaDisplay(), call CCEGLView::enableRetina() directly
if (true == CCEGLView::sharedOpenGLView()->enableRetina())
if (true == CCDirector::sharedDirector()->enableRetinaDisplay(true))
{
// iphone hd
CCFileUtils::sharedFileUtils()->setResourceDirectory("iphonehd");
CCEGLView::sharedOpenGLView()->setDesignResolutionSize(960, 640, kResolutionNoBorder);
}
else
{