Browse code

Hint why SDL_Init() may have failed.

Carl Eugen Hoyos authored on 2011/07/11 04:11:37
Showing 1 changed files
... ...
@@ -3027,6 +3027,7 @@ int main(int argc, char **argv)
3027 3027
 #endif
3028 3028
     if (SDL_Init (flags)) {
3029 3029
         fprintf(stderr, "Could not initialize SDL - %s\n", SDL_GetError());
3030
+        fprintf(stderr, "(Did you set the DISPLAY variable?)\n");
3030 3031
         exit(1);
3031 3032
     }
3032 3033