Fix compile errors
This commit is contained in:
1 parent
6c131496af
commit
d688cbf11e
1 file changed
+3
-3
@@ -31,13 +31,13 @@
|
||||
|
||||
MGLKView *view = (MGLKView *)self.view;
|
||||
view.context = self.context;
|
||||
view.drawableDepthFormat = MGLKViewDrawableDepthFormat24;
|
||||
view.drawableDepthFormat = MGLDrawableDepthFormat24;
|
||||
|
||||
//[view bindDrawable];
|
||||
|
||||
[self setupGL];
|
||||
}
|
||||
|
||||
/*
|
||||
- (void)viewWillAppear:(BOOL)animated
|
||||
{
|
||||
[super viewWillAppear:animated];
|
||||
@@ -45,7 +45,7 @@
|
||||
[self setPaused:YES];
|
||||
[self setResumeOnDidBecomeActive:NO];
|
||||
}
|
||||
|
||||
*/
|
||||
- (void)dealloc
|
||||
{
|
||||
if ([MGLContext currentContext] == self.context) {
|
||||
|
||||
Reference in new issue
Block a user