test/testwm2.c
branchSDL-1.3
changeset 1733 0b1070f2f94d
parent 1725 98a3207ddde8
     1.1 --- a/test/testwm2.c	Sat Jul 08 20:55:39 2006 +0000
     1.2 +++ b/test/testwm2.c	Sun Jul 09 09:02:26 2006 +0000
     1.3 @@ -49,12 +49,6 @@
     1.4          }
     1.5      }
     1.6  
     1.7 -    /* Set the desktop mode, we don't care what it is */
     1.8 -    if (SDL_SetDisplayMode(NULL) < 0) {
     1.9 -        fprintf(stderr, "Couldn't set display mode: %s\n", SDL_GetError());
    1.10 -        quit(2);
    1.11 -    }
    1.12 -
    1.13      /* Create the windows */
    1.14      windows = (SDL_WindowID *) SDL_malloc(num_windows * sizeof(*windows));
    1.15      if (!windows) {