Original Post
I wonder if someone can help me understand what''s going on here.
I''m drawing textured quads with OpenGL using and orthographic projection. One quad is a background, and I draw the other quads on top of it:
DrawBackground();
DrawQuads();
anyway, opengl is actually drawing the other quads before the background quads.
If I switch the order of the two function calls, I get what I want:
DrawQuads();
DrawBackground();
Why in the world would that happen?
thanks.