| Index: nacltoons/src/app_delegate.cc
|
| diff --git a/nacltoons/src/app_delegate.cc b/nacltoons/src/app_delegate.cc
|
| index d59b2a1f4f2d04d1bd0464bae62af45a3165249c..7d6516ef0f7de07c6bc6e92f0ba6b8848a2a0e2d 100644
|
| --- a/nacltoons/src/app_delegate.cc
|
| +++ b/nacltoons/src/app_delegate.cc
|
| @@ -12,6 +12,13 @@ bool AppDelegate::applicationDidFinishLaunching() {
|
|
|
| CCDirector* director = CCDirector::sharedDirector();
|
| director->setOpenGLView(view);
|
| +
|
| + // This tells cocos that our application's assets are designed for
|
| + // native display at 600x800. If the embed element is not this
|
| + // size cocos will automatically scale all assets and coordinates
|
| + // accordingly.
|
| + view->setDesignResolutionSize(800, 600, kResolutionNoBorder);
|
| +
|
| director->setDisplayStats(true);
|
|
|
| // Create lua engine
|
|
|