i want to grab the framebuffer from my openGL application and save it to a bitmap file. to get the framebuffer contents i use glReadPixels(). the only problem is that whenever there is a window partially obscuring my openGL window, nothing is drawn in the obscured area so my bitmap file looks rather incomplete.
so, is it possible to tell openGL to render to the whole window no matter how much of it is visible? or can i render to an offscreen buffer and grab that instead?
oh yes, i’m using windows XP