issue #1486: Updated AppDelegate.cpp and proj.win32/main.cpp.

This commit is contained in:
James Chen 2012-10-12 10:02:49 +08:00
parent e1c0ea761b
commit 98aa5dd489
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ bool AppDelegate::applicationDidFinishLaunching() {
CCFileUtils::sharedFileUtils()->setResourceDirectory("ipadhd");
pDirector->setContentScaleFactor(2048.0f/kDesignResolutionSize_width);
}
else if (screenSize.height >= 640)
else if (screenSize.height > 320)
{
CCFileUtils::sharedFileUtils()->setResourceDirectory("ipad");
pDirector->setContentScaleFactor(1024.0f/kDesignResolutionSize_width);

View File

@ -15,6 +15,6 @@ int APIENTRY _tWinMain(HINSTANCE hInstance,
// create the application instance
AppDelegate app;
CCEGLView* eglView = CCEGLView::sharedOpenGLView();
eglView->setFrameSize(960, 640 );
eglView->setFrameSize(1136, 640 );
return CCApplication::sharedApplication()->run();
}