istereo

view src/istereoAppDelegate.m @ 16:20a9d3db38cb

forgot to actually use bind_texture
author John Tsiombikas <nuclear@mutantstargoat.com>
date Wed, 07 Sep 2011 09:19:47 +0300
parents
children ff055bff6a15
line source
1 //
2 // istereoAppDelegate.m
3 // istereo
4 //
5 // Created by nuclear on 9/6/11.
6 // Copyright __MyCompanyName__ 2011. All rights reserved.
7 //
9 #import "istereoAppDelegate.h"
10 #import "EAGLView.h"
12 @implementation istereoAppDelegate
14 @synthesize window;
15 @synthesize glView;
17 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
18 {
19 [glView startAnimation];
20 return YES;
21 }
23 - (void)applicationWillResignActive:(UIApplication *)application
24 {
25 [glView stopAnimation];
26 }
28 - (void)applicationDidBecomeActive:(UIApplication *)application
29 {
30 [glView startAnimation];
31 }
33 - (void)applicationWillTerminate:(UIApplication *)application
34 {
35 [glView stopAnimation];
36 }
38 - (void)dealloc
39 {
40 [window release];
41 [glView release];
43 [super dealloc];
44 }
46 @end