set framerate to 60fps

This commit is contained in:
Konstantin Käfer
2014-02-05 13:59:38 +01:00
parent b629f56f68
commit 0a053d944a

View File

@@ -72,6 +72,7 @@ class MBXMapView
GLKView *view = (GLKView *)self.view;
view.context = self.context;
view.drawableStencilFormat = GLKViewDrawableStencilFormat8;
self.preferredFramesPerSecond = 60;
[view bindDrawable];
[EAGLContext setCurrentContext:self.context];