Removed not needed SDL_WINDOW_SHOWN from test programs.

See bug #1667.
This commit is contained in:
Philipp Wiesemann 2013-07-20 21:47:16 +02:00
parent 74e5c8cffd
commit 62c31ff5c3
6 changed files with 6 additions and 6 deletions

View file

@ -50,7 +50,7 @@ WatchJoystick(SDL_Joystick * joystick)
/* Create a window to display joystick axis position */
window = SDL_CreateWindow("Joystick Test", SDL_WINDOWPOS_CENTERED,
SDL_WINDOWPOS_CENTERED, SCREEN_WIDTH,
SCREEN_HEIGHT, SDL_WINDOW_SHOWN);
SCREEN_HEIGHT, 0);
if (window == NULL) {
fprintf(stderr, "Couldn't create window: %s\n", SDL_GetError());
return SDL_FALSE;