Skip to main content
GameDev.net gamedev.net
🔒 Locked

DirectDraw Flip Flicker

Started by Marauder1234 Mar 3, 2003 at 11:33 PM 0 replies 250+ views
Original Post
Marauder1234
Marauder1234
I''m developing a Managed DirectX 9 Game in C#. It''s a simple 2D Nibbles (aka Worms/Snakes) implementation. I''m using the standard surface.flip() call to interchange the primary and offscreen buffers. Unfortunately, I''m getting intermittent but non-periodic flicker. When I replace the surface.flip() call with a surface.DrawFast() call the flicker disappears , but (as you would expect) I get a performance hit. Has anyone else had problems with surface.flip resulting in flicker? I was convinced it was my code until I found other samples that suffered from the same flickering while using surface.flip. Thanks for your help.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.