🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

backbuffer flip problem

Started by
0 comments, last by GameDev.net 24 years, 8 months ago
I am working on a basic directX 5.0 game skeleton. The DirectDraw portion is done, except for one problem: I Blt to the back surface from an offscreen surfacee, then flip the primary and back. This is basic programming. But for some reason it's not working. The screen flickers when I draw to the back buffer and do a Flip. How do I eliminate this flicker?
Advertisement
Unless your graphics card is screwed, my guess is that you are in fact blitting to the wrong buffer.

(A quick check would be to simply revert your pointers and see what happens)

Anyway, there's no particular trick to avoid flickering (except double bufffering, which is what flip() is all about).

/NJ

<b>/NJ</b>

This topic is closed to new replies.

Advertisement