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