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 a30b85dd03
commit aa1fee4fdb
6 changed files with 6 additions and 6 deletions

View File

@@ -105,7 +105,7 @@ WatchGameController(SDL_GameController * gamecontroller)
/* Create a window to display controller axis position */
window = SDL_CreateWindow(title, 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;