Fix compile errors

This commit is contained in:
Duy Tran Khanh committed 2021-01-26 19:48:55 +07:00
1 parent 6c131496af
commit d688cbf11e
1 file changed
+3 -3
+3 -3
View File
@@ -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) {