ios stuff

This commit is contained in:
vladislav.khorev committed 2013-01-28 09:46:37 +00:00
1 parent 98b286d129
commit 6859c01851
3 files changed
+566 -558

No files matched your search

File diff suppressed because it is too large. Load diff
+9 -2
View File
@@ -9,6 +9,9 @@
#import "ViewController.h"
#import "ios_api.h"
extern GLKView* defaultView; //Find this in IosApi.h/mm in Engine
@interface ViewController () {
}
@@ -38,7 +41,8 @@
GLKView *view = (GLKView *)self.view;
view.context = self.context;
view.drawableDepthFormat = GLKViewDrawableDepthFormat24;
defaultView = (GLKView *)self.view;
[self setupGL];
}
@@ -77,7 +81,10 @@
[EAGLContext setCurrentContext:self.context];
AppInit();
}
GLKView *view = (GLKView *)self.view;
}
- (void)tearDownGL
{
+1
View File
@@ -46,3 +46,4 @@ extern "C" void AppOnScroll(int shiftx, int shifty)
App->OuterOnMove(vec2(shiftx, shifty));
}