Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们有一个使用 OpenGL 和MKMapView. 当我们切换到 iOS 6 时[EAGLContext setCurrentContext:],每当我们在设置自己的EAGLContext.
MKMapView
[EAGLContext setCurrentContext:]
EAGLContext
iOS 6 地图是基于 OpenGL 的。如果你不打电话,你的应用会崩溃
[EAGLContext setCurrentContext:nil]
在您设置了自己的 EAGLContext 之后。我们通过将上述调用放入与 EAGLContext 交互的类的 dealloc 方法来修复我们的错误。