[SDL] windows funnyness

Pete Shinners pete at shinners.org
Tue Aug 7 08:26:01 PDT 2001


"Joel Dudley" <Joel.Dudley at DevelopOnline.com> wrote
> Ironicly there was indeed a return in that function. Like so.
>
> return(screen);
>
> Which was a pointer to SDL_Surface.

my guess is there is some error case where nothing is
returned. need to look for this...

if(!everything_looks_good())
    return;

need to make it a "return NULL;"







More information about the SDL mailing list