test/testwin.c
changeset 1152 51a8702d8ecd
parent 1151 be9c9c8f6d53
child 1659 14717b52abc0
equal deleted inserted replaced
1151:be9c9c8f6d53 1152:51a8702d8ecd
   246 	/* Set default options and check command-line */
   246 	/* Set default options and check command-line */
   247 	speedy = 0;
   247 	speedy = 0;
   248 	flip = 0;
   248 	flip = 0;
   249 	nofade = 0;
   249 	nofade = 0;
   250 	delay = 1;
   250 	delay = 1;
       
   251 
       
   252 #ifdef _WIN32_WCE
       
   253 	w = 640;
       
   254 	h = 320;
       
   255 	desired_bpp = 0;
       
   256 	video_flags = SDL_FULLSCREEN;
       
   257 #else
   251 	w = 640;
   258 	w = 640;
   252 	h = 480;
   259 	h = 480;
   253 	desired_bpp = 0;
   260 	desired_bpp = 0;
   254 	video_flags = 0;
   261 	video_flags = 0;
   255 
   262 #endif
   256 	if ( SDL_Init(SDL_INIT_VIDEO) < 0 ) {
   263 	if ( SDL_Init(SDL_INIT_VIDEO) < 0 ) {
   257 		fprintf(stderr,
   264 		fprintf(stderr,
   258 			"Couldn't initialize SDL: %s\n", SDL_GetError());
   265 			"Couldn't initialize SDL: %s\n", SDL_GetError());
   259 		return(1);
   266 		return(1);
   260 	}
   267 	}