Revision b6034a39 sdl.c
b/sdl.c | ||
---|---|---|
112 | 112 |
height = new_height; |
113 | 113 |
real_screen = SDL_SetVideoMode(width, height, bpp, flags); |
114 | 114 |
if (!real_screen) { |
115 |
fprintf(stderr, "Could not open SDL display\n"); |
|
115 |
fprintf(stderr, "Could not open SDL display (%dx%dx%d): %s\n", width, |
|
116 |
height, bpp, SDL_GetError()); |
|
116 | 117 |
exit(1); |
117 | 118 |
} |
118 | 119 |
} |
Also available in: Unified diff