Update SurfaceViewController.m
This commit is contained in:
1 parent
a4a5abba09
commit
9079d1ad2e
1 file changed
+1
-1
@@ -133,7 +133,7 @@ BOOL shouldTriggerClick = NO;
|
||||
MGLKView *view = glView = (MGLKView *) self.view;
|
||||
view.drawableDepthFormat = MGLDrawableDepthFormat24;
|
||||
view.enableSetNeedsDisplay = YES;
|
||||
[self setPreferredFramesPerSecond:1000];
|
||||
// [self setPreferredFramesPerSecond:1000];
|
||||
|
||||
// Init GLES
|
||||
self.context = [[MGLContext alloc] initWithAPI:kMGLRenderingAPIOpenGLES3];
|
||||
|
||||
Reference in new issue
Block a user