I’m using this tutorial to work out some stuff, but i’m having to port the code because its in OpenGL instead of GL-ES. One problem I’m having is setting the arrays because android doesn’t seem to support this kind of array
eg:
GLint viewport[4];
Correct me if I’m wrong and this type of array is supported or enlighten me as to how I should be setting arrays
Thank you
See this – Android: 3D with OpenGL
There is no GLint type. For that example use:
So, you just need to use something like this: