PDA

View Full Version : Fullscreen rendering



link19
10-29-2001, 05:07 AM
Hi,
Using MFC. Ever since i enabled double buffering, my app wont render the whole view. The right most part is cut off. Seems that more is cut off the next time i execute...close...execute...more is cut off...close...execute...get full view...close...execute...some is cut off...etc...
Even if i Invalidate() the view, nothing. The only thing that does work is if one particular view (that is not OpenGL) becomes focused...then if i return to an OpenGL enabled view, its fine. So i dont think it has anything to do with my card.
When double buffering is enabled, when do you make the call glDrawBuffer(GL_BACK)? Do you then have to call glDrawBuffer(GL_FRONT)?
TIA

pythagoras
10-29-2001, 07:09 AM
I might not understand correctly, but I think you use glSwapBuffers().

HTH, G.