[SDL] Flickering and division by zero in Windows
Andre de Leiradella
leiradella at bigfoot.com
Sun Feb 25 17:17:25 PST 2007
>
> I'm writing an SDL application but am having trouble with flickering.
> I tried all combinations of flags (SDL_SWSURFACE, SDL_HWSURFACE,
> SDL_DOUBLEBUF, SDL_NOFRAME, SDL_FULLSCREEN etc.) but with no luck.
>
> I can't show the smallest piece of code that reproduces the problem
> because the program is scripted in Lua. But it just blits a 8-bit
> image over the screen and draws a semi-transparent rectangle over the
> screen (with SDL_gfx) and then either calls SDL_Flip or SDL_UpdateRect
> (I tried both). The result is always the same: the rectangle flickers.
>
> I'm using Windows and the precompiled DLL of SDL-1.2.11. I have
> compiled SDL_gfx-2.0.15 into a DLL myself. I'm forcing the windib
> driver using a putenv just before SDL_Init.
>
What about this one, any thoughts?
Thanks,
André
More information about the SDL
mailing list