PDA

View Full Version : problems with retrieving the backbuffer



rgreene
09-13-2002, 09:38 AM
Hi all,
I'm attempting to render an object to the backbuffer, then copy it into a texture, which currently works fine. However, the problem is in the drawing of the object. If I attempt to draw an object using glDrawElements (), I don't see anything on the texture. However, if I use glVertex3f () in a glBegin ()/glEnd () block, it works out great. I'm call both glFlush () and glFinish () at the end of my drawing. Any ideas what I am doing wrong?