Original Post
In my OpenGL programm I have a loop, which is executed every frame:
for (int i=0;i<5000;i++)
{
glBlendFunc(GL_DST_COLOR,GL_ZERO);
// Bind Texture
DrawQuad();
glBlendFunc(GL_ONE,GL_ONE);
// Bind texture
DrawQuad();
}
Now I lose about 8-10 fps because the CONTENTS of the loop. I''m using a Pentium 3 700Mhz and a GeForce 4. If I use this however:
glBlendFunc(GL_DST_COLOR,GL_ZERO);
// Bind Texture
for (int i=0;i<5000;i++)
DrawQuad();
glBlendFunc(GL_ONE,GL_ONE);
// Bind texture
for (int i=0;i<5000;i++)
DrawQuad();
some of the quads are blended together.
What can I do to speed this but not blend the quads?