🎉 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!

Problems with screen flicking.

Started by
1 comment, last by blazter2 24 years, 5 months ago
I''m making a 2D game using DirectDraw. The problem is that I''m already waiting for the vsync but the screen continues to flick. Any tips for resolving the problem ?
Thanks,blazter
Advertisement
My first guess would be maybe you''re not double buffering properly. The first time I coded a simple DirectX animation I flipped the surfaces three times by accident, which meant that the images showed properly, but a lot of flickering resulted.
I am along the lines with SiCrane. After you have set up your back buffer correctly with the primary surface you should do everything you want to the back buffer 1st and then at the last moment flip it.
It's not reverse engineering, unless you get caught.

This topic is closed to new replies.

Advertisement