When I turn on the hardware parameter when creating surfaces - the screen
starts to flicker.
Does any one have an example on how to use hardware enabled surfaces and
hardware fliping?
Thanks,
JC_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
When I turn on the hardware parameter when creating surfaces - the screen
starts to flicker.
Flicker + hardware surface…
Have you tried to add the SDL_DOUBLEBUF flag while creating the surface and
then call
something like
if ( screen->flags & SDL_DOUBLEBUF ) {
SDL_Flip(screen);
}
to update the screen?
If not, give it a try.
Hope this can help
alx