Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: nacltoons/src/app_delegate.cc

Issue 12220140: [nacltoons] Cleanup initial game code. (Closed) Base URL: https://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nacltoons/src/app_delegate.h ('k') | nacltoons/src/frontend.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nacltoons/src/app_delegate.cc
diff --git a/nacltoons/src/app_delegate.cc b/nacltoons/src/app_delegate.cc
index 6cffb04fd19f073d5c9fb3db8eb778f0516ad6db..ab3f03e96f6707a2223f4081060ea5235d41f53a 100644
--- a/nacltoons/src/app_delegate.cc
+++ b/nacltoons/src/app_delegate.cc
@@ -13,7 +13,8 @@ bool AppDelegate::applicationDidFinishLaunching() {
director->setOpenGLView(view);
director->setDisplayStats(true);
- CCScene* scene = FrontEnd::scene();
+ // Craete the initial (autorelease) scene and run with it.
noelallen_use_chromium 2013/02/13 00:22:41 Create
+ CCScene* scene = FrontEndScene::create();
director->runWithScene(scene);
return true;
}
« no previous file with comments | « nacltoons/src/app_delegate.h ('k') | nacltoons/src/frontend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698