Skip to content Skip to sidebar Skip to footer

Android Ndk, Opengl Es 2, Vbo Crashes The Render

Ok this is the fourth time that I post this issue. It is a complicate problem, I know that. I'm going to explain all, beacuse I dont know what is important or not, and this problem

Solution 1:

Well finally I solved it. so I found 2 problems:

  1. I need to put an explicit glBindBuffer(GL_ARRAY_BUFFER, 0); to unbind the buffers, I don't know why I have to do that, at this stage, because, I didn't need it before.
  2. GL_UNSIGNED_INT seems doesn't exist on android 4, and again, I don't know why right now it doesn't exist and few days ago, it did.

So the main problem is solved, but if someone wanted to explain more why is this, it would be great.

Now I'm going to modify every class in my proyect,

Post a Comment for "Android Ndk, Opengl Es 2, Vbo Crashes The Render"