ios - Should I recreate the EAGL context when handling an handleScreenDidConnectNotification? -
i attempting handle handlescreendid(dis)connectnotification's in ios. problem have error of gl_invalid_framebuffer_operation non-specific glfunctions() in application 2 frames after handling handlescreendidconnectnotification.
i deleting , recreating framebuffers , renderbuffers (because resolution changing) notification. not eaglcontext.
my question is: need release/delete eaglcontext* when handling notification , guess delete recreate of gl resources?
ios opengl-es eaglcontext
No comments:
Post a Comment