Hello everyone, I was trying to make an example using openGL and then porting it to openGLES.
I draw a rectangle like this:
v0 = -1.0, 0.0, 0
v1 = -1.0, 1.0, 0
v2 = 1.0, 1.0, 0
v3 = 1.0, 0, 0
GLfloat vertices[] = {v0,v1,v2,v3};
...
glVertexPointer(3, GL_FLOAT, 0, vertices);
glDrawArrays(GL_TRIANGLE_FAN, 0, 4);

and in desktop I see it right but when I port the code to openGLES I see it like a parallelogram with a 45 inclination.
Desktop vs. PDA


Can anybody tell me what can make this transformation?
Thanks in advance,
Santiago