Fixed SDL building with the minimal configuration
This commit is contained in:
parent
5971051d9e
commit
5aa3492ef8
9 changed files with 28 additions and 27 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue