mirror of https://github.com/axmolengine/axmol.git
issue #1486: Updated AppDelegate.cpp and proj.win32/main.cpp.
This commit is contained in:
parent
e1c0ea761b
commit
98aa5dd489
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue