Blitting Issue

I setup my video like this,screen = SDL_SetVideoMode(800, 600,
0,SDL_ANYFORMAT|SDL_DOUBLEBUF|SDL_HWSURFACE|SDL_FULLSCREEN);
I’m using SDL_Flip to update my screen. I fillrect the screen after It’s
drawn. I am using dga as my video driver. I’m using the newest version
of SDL. The problem is that I see doubles of small images. They kind of
flicker one is behind the other. The images speed is based on it’s frame
rate. I don’t know what’s wrong. It’s only drawing once. At least I
think it is.

Sorry, but it’s a little hard to see the problem from here…

Maby if you could post the significant code blocks…

/ Johan

— Steffen Hunt wrote:> I setup my video like this,screen = SDL_SetVideoMode(800, 600,

0,SDL_ANYFORMAT|SDL_DOUBLEBUF|SDL_HWSURFACE|SDL_FULLSCREEN);
I’m using SDL_Flip to update my screen. I fillrect the screen after It’s
drawn. I am using dga as my video driver. I’m using the newest version
of SDL. The problem is that I see doubles of small images. They kind of
flicker one is behind the other. The images speed is based on it’s frame
rate. I don’t know what’s wrong. It’s only drawing once. At least I
think it is.


Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk