I really never thought about animation, but this is what i just think of:
Code:
int runAnimate=0;
glLoadIdentity();
runAnimate++;
if(runAnimate >=2) //how many image in the animated picture
runAnimate = 0; //reset the animation
if(runAnimate == 0)
glBindTexture(GL_TEXTURE_2D, texture[0]);
else
if(runAnimate == 1)
glBindTexture(GL_TEXTURE_2D, texture[1]);
//and so on with the third, fourth, ....
glBegin(GL_QUADS);
//Draw the box with glTexCoord2d();
glEnd();
I don't know if this'll help any but that the simplest way to do it (i think)