equal
deleted
inserted
replaced
51 exit(1); |
51 exit(1); |
52 } |
52 } |
53 |
53 |
54 atexit(SDL_Quit); |
54 atexit(SDL_Quit); |
55 |
55 |
56 screen = SDL_SetVideoMode(w, h, 32, SDL_HWSURFACE|SDL_DOUBLEBUF|SDL_RESIZABLE); |
56 screen = SDL_SetVideoMode(w, h, 32, SDL_SWSURFACE|SDL_DOUBLEBUF|SDL_RESIZABLE); |
57 if ( screen == NULL ) { |
57 if ( screen == NULL ) { |
58 fprintf(stderr, "Unable to set video mode: %s\n", SDL_GetError()); |
58 fprintf(stderr, "Unable to set video mode: %s\n", SDL_GetError()); |
59 exit(1); |
59 exit(1); |
60 } |
60 } |
61 |
61 |