"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;"