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

@ -159,7 +159,7 @@ main(int argc, char *argv[])
/* Test showing a message box with a parent window */
{
SDL_Event event;
SDL_Window *window = SDL_CreateWindow("Test", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 640, 480, SDL_WINDOW_SHOWN);
SDL_Window *window = SDL_CreateWindow("Test", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 640, 480, 0);
success = SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR,
"Simple MessageBox",