SDL segfault when trying to draw to screen
It Segfaults at the drawString.
if ( SDL_Init(SDL_INIT_AUDIO|SDL_INIT_VIDEO) < 0 )
printf("Unable to init SDL: %s\n", SDL_GetError());
if ( screen == NULL )
printf("Unable to set video: %s\n", SDL_GetError());
drawString(screen, font, 0, 0, "Loaded!\n");
I've tried blitting surfaces to the screen and all, but it still segfaults whenever I try to draw to the screen.