> Date: Thu, 27 Jun 2013 20:53:43 +0200 > Subject: libSDL and $DISPLAY > > void main() { > if (SDL_Init (SDL_INIT_VIDEO) < 0) { > fprintf(stderr, "Unable to init SDL: %s\n", SDL_GetError()); > exit(1); > } > } I haven't used SDL for over 10 years. According to the documention, I think you still need to call SDL_Quit: http://www.libsdl.org/docs/html/sdlquit.html |