Actually, if your hardware supports a pixelformat where PFD_SWAP_COPY is true, you can swap the front and back buffers and the back buffer will remain the same. Your hardware must support this though. Try looping through all available pixelformats by calling
maxPixelFormats = DescribePixelFormat(hDC, 0, 0, NULL); (this gives the number of existing pixelformats – 24 of them are generic and always exist, so if you get maxpixelformats=48, then #1-24 are hardware specific)
Then loop from 1 to maxPixelFormats calling describepixelformat each time and test for the PFD_SWAP_COPY property. If you never get one that’s true, you’re screwed … but you can always buy a new video card that supports it. Oxygen vx1 does, but not in stereo.
Originally posted by Succinct:
[b]anyone know how to make the swapbuffers call only copy the backbuffer to the screen instead of swapping their contents?
i don’t draw the whole screen each frame, and i have it rigged so that i dont’ have to clear it every frame, either…
everything bounces once it’s done animating…
thx in advance if you know