Advertisement

Problems with screen flicking.

Started by January 14, 2000 11:40 PM
1 comment, last by blazter2 25 years, 1 month 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
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.
Advertisement
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