Funny thing, my rendered image is not visible, screen is black, when I render a polygon image without glPushAttrib() glPopAttrib(), and visible if I include them, but I can’t see why this would be.
Here is a facsimile of my rendering pipeline
render()
{
clearscreen();
glPushAttrib(GL_ALL_ATTRIB_BITS);
glPopAttrib();
drawObject();
glFlush();
}
I have nothing sandwiched between the glPushAttrib(…) and glPopAttrib(), yet when it’s there the scene is fully visible, otherwise it is pitch black.
Okay, what do I make of this?
[This message has been edited by Archimedes (edited 09-20-2002).]