OpenGL not show result from secondary thread on iPhone
I created EAGLContext and use it in开发者_如何学编程 the secondary thread. But there is no output displayed. The same code works fine if run in main loop.
Do I need to notify somewhere on each render completion?
EGL Context may be only active in one thread. You need to use eglMakeCurrent(). Also, you need to use eglSwapBuffers() once your rendering is done.
精彩评论