Fixed SDL building with the minimal configuration

This commit is contained in:
Sam Lantinga 2013-06-13 22:10:10 -07:00
parent 5971051d9e
commit 5aa3492ef8
9 changed files with 28 additions and 27 deletions

View file

@ -63,7 +63,7 @@ report_power(void)
int
main(int argc, char *argv[])
{
if (SDL_Init(SDL_INIT_VIDEO) == -1) {
if (SDL_Init(0) == -1) {
fprintf(stderr, "SDL_Init() failed: %s\n", SDL_GetError());
return 1;
}