Beginner question about OpenGL problem

Started by
10 comments, last by kburkhart84 18 years, 1 month ago
Quote:Original post by Sneftel
You have to leave the initial glClear in. Also, if you aren't calling SwapBuffers, you may need to call glFinish after each frame. Also, of course, you need to remove the PFD_DOUBLEBUFFER attribute.


Thanks. I think I can get it working from here.

Edit: Yep. It's working now. Thanks again.
Advertisement
Quote:Original post by Sneftel
You have to leave the initial glClear in. Also, if you aren't calling SwapBuffers, you may need to call glFinish after each frame. Also, of course, you need to remove the PFD_DOUBLEBUFFER attribute.


It was the DOUBLEBUFFER attribute. If you leave it in, since drawing goes to the back buffer, you never see it if you don't swap buffers.


This topic is closed to new replies.

Advertisement