//I have no idea about this, can anyone help me //texture type is CCTexture2D, _Vertices type is CGPoint*,_Coords type is CGPoint*
glBindTexture(GL_TEXTURE_2D, texture.name);
glDisableClientState(GL_COLOR_ARRAY);
glColor4f(1, 1, 1, 1);
glVertexPointer(2, GL_FLOAT, 0, _Vertices);
glTexCoordPointer(2, GL_FLOAT, 0, _Coords);
glDrawArrays(GL_TRIANGLE_STRIP, 0, (GLsizei)_nVertices);
glDisable(GL_TEXTURE_2D);
glDisableClientState(GL_COLOR_ARRAY);
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
glEnable(GL_TEXTURE_2D);
glEnableClientState(GL_COLOR_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);