Or I have to glDeleteTextures, glDeleteTextures one by one them?
Or is there some kind of glDeleteAllTextures like function?
Or I have to glDeleteTextures, glDeleteTextures one by one them? Or is there some
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The textures (and other OpenGL ES resources) are managed by EAGLSharegroup objects. These objects are created for you automatically when you create your EAGLContext objects and disposed of when the EAGLContext objects are released.
So the short answer to your question is: no, you don’t have to delete all the textures before you release your context.