When the texture is switched, why is the speed slow?
Code - 1
glBindTexture(GL_TEXTURE_2D,texId01);
glDrawArray(glDrawArrays(GL_TRIANGLES, 0, 4);
glBindTexture(GL_TEXTURE_2D,texId02);
glDrawArray(glDrawArrays(GL_TRIANGLES, 0, 4);
Code - 2
glBindTexture(GL_TEXTURE_2D,texId01);
glDrawArray(GL_TRIANGLES, 0, 4);
glDrawArray(GL_TRIANGLES, 0, 4);
Why are these speeds different?