Hi…,
I try to port my working iOS OpenGL ES 1.1 render function to windows.
On windows nothing is drawn from this code:
ofimage.bind();
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glEnableClientState(GL_COLOR_ARRAY);
glVertexPointer(3, GL_FLOAT, 9*sizeof(GLfloat), pos_tex_all);
glTexCoordPointer(2, GL_FLOAT, 9*sizeof(GLfloat), pos_tex_all+3);
glColorPointer(4, GL_FLOAT, 9*sizeof(GLfloat), pos_tex_all+5);
glDrawElements(GL_TRIANGLE_STRIP, counter*6, GL_UNSIGNED_SHORT, indices_all);
Any ideas?
Thanks
Mike