test/testgamecontroller.c
changeset 7478 0d02f6a323f5
parent 7191 75360622e65f
child 7517 965d57022c01
equal deleted inserted replaced
7477:a73210626b97 7478:0d02f6a323f5
   103     }
   103     }
   104 
   104 
   105     /* Create a window to display controller axis position */
   105     /* Create a window to display controller axis position */
   106     window = SDL_CreateWindow(title, SDL_WINDOWPOS_CENTERED,
   106     window = SDL_CreateWindow(title, SDL_WINDOWPOS_CENTERED,
   107                               SDL_WINDOWPOS_CENTERED, SCREEN_WIDTH,
   107                               SDL_WINDOWPOS_CENTERED, SCREEN_WIDTH,
   108                               SCREEN_HEIGHT, SDL_WINDOW_SHOWN);
   108                               SCREEN_HEIGHT, 0);
   109     if (window == NULL) {
   109     if (window == NULL) {
   110         fprintf(stderr, "Couldn't create window: %s\n", SDL_GetError());
   110         fprintf(stderr, "Couldn't create window: %s\n", SDL_GetError());
   111         return;
   111         return;
   112     }
   112     }
   113 
   113