[SDL] SDL_Setvideomode

Brian Barrett brian.ripoff at gmail.com
Wed Nov 16 03:42:16 PST 2005

you could draw to a memory buffer ( a surface you create yourself) and
then blit this to the main surface when you create it or you could
delay SDL_SetVideoMode until you are going to draw.

On 11/16/05, Steve King (dev) <steve.king at ecmsys.co.uk> wrote:
> Hi,
> I have an SDL program that works wonderfully but at startup after calling
> SDL_Setvideomode I get a blank screen before I draw anything to it, how can
> this be avoided, is it possible to draw before this call?
> Thanks for any help.
> Regards
> Steve
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl

More information about the SDL mailing list