mirror of https://github.com/axmolengine/axmol.git
Correct the resolution in main.cpp for TestCpp for Emscripten
This commit is contained in:
parent
b032fc2d61
commit
ae260785ae
|
@ -14,6 +14,6 @@ int main(int argc, char **argv)
|
||||||
// create the application instance
|
// create the application instance
|
||||||
AppDelegate app;
|
AppDelegate app;
|
||||||
CCEGLView* eglView = CCEGLView::sharedOpenGLView();
|
CCEGLView* eglView = CCEGLView::sharedOpenGLView();
|
||||||
eglView->setFrameSize(800, 480);
|
eglView->setFrameSize(800, 500);
|
||||||
return CCApplication::sharedApplication()->run();
|
return CCApplication::sharedApplication()->run();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue