mirror of https://github.com/axmolengine/axmol.git
revert modification of AppDelegate.cpp
This commit is contained in:
parent
eb952e7c69
commit
a568c1d221
|
@ -33,12 +33,10 @@ bool AppDelegate::applicationDidFinishLaunching() {
|
||||||
// iphone
|
// iphone
|
||||||
|
|
||||||
// try to enable retina on device
|
// try to enable retina on device
|
||||||
// notice: passby CCDirecor::enableRetinaDisplay(), call CCEGLView::enableRetina() directly
|
if (true == CCDirector::sharedDirector()->enableRetinaDisplay(true))
|
||||||
if (true == CCEGLView::sharedOpenGLView()->enableRetina())
|
|
||||||
{
|
{
|
||||||
// iphone hd
|
// iphone hd
|
||||||
CCFileUtils::sharedFileUtils()->setResourceDirectory("iphonehd");
|
CCFileUtils::sharedFileUtils()->setResourceDirectory("iphonehd");
|
||||||
CCEGLView::sharedOpenGLView()->setDesignResolutionSize(960, 640, kResolutionNoBorder);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue