PDA

View Full Version : animation



phil67rpg
03-12-2006, 06:11 PM
I am attempting to animate a pong clone paddle, it works but it flickers when it moves ,help please I am trying to use the swapbuffers command

mikael_aronsson
03-12-2006, 09:51 PM
Have you enabled doublebuffering ?

In windows you might have incorrect WM_ERASEBKGND behavior, (return TRUE to avoid background erasing, otherwise it will flicker).