open gl to GLES quads

Hi, I am trying to move some things from OSX to ipad. I am trying to convert some openGL quads to opengl ES.

I followed a simple guide but my texture comes up empty. I also can only get GLES 1 not 2 on my ipad 2- not sure if this is why.

Here is what I started with.

  
bigVideoTexture.bind();  
  
glBegin(GL_QUADS);  
int numPts = pts.size();  
for(int i = 0; i < numPts-1; i++){  
  
  
  
  
	glTexCoord2f(0,(texturePts[i] + texturePos) % currentLine);  
	glVertex3f(pts[i].x,pts[i].y, pts[i].z);  
	glTexCoord2f(camWidth,(texturePts[i]+ texturePos) % currentLine);  
	glVertex3f(pts2[i].x,pts2[i].y, pts2[i].z);  
	glTexCoord2f(camWidth,(texturePts[i+1]+ texturePos) % currentLine);  
	glVertex3f(pts2[i+1].x,pts2[i+1].y, pts2[i+1].z);  
	glTexCoord2f(0,(texturePts[i+1]+ texturePos) % currentLine);  
	glVertex3f(pts[i+1].x,pts[i+1].y, pts[i+1].z);  
}  
  
bigVideoTexture.unbind();  

And here is what I tried to implement

  
for(int i = 0; i < numPts-1; i++){  
       
	bigVideoTexture.bind();  
  
	GLfloat vtx1[] = {  
	pts[i].x,pts[i].y, pts[i].z,  
	pts2[i].x,pts2[i].y, pts2[i].z,  
	pts2[i+1].x,pts2[i+1].y, pts2[i+1].z,  
	pts[i+1].x,pts[i+1].y, pts[i+1].z  
	};  
  
	GLfloat tex1[] = {  
	0,(texturePts[i] + texturePos) % currentLine,  
	camWidth,(texturePts[i]+ texturePos) % currentLine,  
	camWidth,(texturePts[i+1]+ texturePos) % currentLine,  
	0,(texturePts[i+1]+ texturePos) % currentLine  
	};  
  
	glEnableClientState(GL_VERTEX_ARRAY);  
	glEnableClientState(GL_TEXTURE_COORD_ARRAY);  
  
	glVertexPointer(3, GL_FLOAT, 0, vtx1);  
	glTexCoordPointer(2, GL_FLOAT, 0, tex1);  
	glDrawArrays(GL_TRIANGLE_FAN,0,4);  
  
	glDisableClientState(GL_VERTEX_ARRAY);  
	glDisableClientState(GL_TEXTURE_COORD_ARRAY);  
  
	bigVideoTexture.unbind();  
	}  

Cheers