I don’t know how different this is from the iPhone (OpenGL ES, I believe?), But in regular OpenGL you have to repeat the repetition of the texture tile and then just change the UV coordinates to the distance the player has moved. Texture filtering is set using:
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
source share