test/testalpha.c
changeset 1152 51a8702d8ecd
parent 1151 be9c9c8f6d53
child 1293 23b1ef7d003b
     1.1 --- a/test/testalpha.c	Wed Sep 28 11:36:20 2005 +0000
     1.2 +++ b/test/testalpha.c	Thu Sep 29 09:43:00 2005 +0000
     1.3 @@ -339,12 +339,20 @@
     1.4  	}
     1.5  
     1.6  	/* Set 640x480 video mode */
     1.7 +#ifndef _WIN32_WCE
     1.8  	if ( (screen=SDL_SetVideoMode(640,480,video_bpp,videoflags)) == NULL ) {
     1.9  		fprintf(stderr, "Couldn't set 640x480x%d video mode: %s\n",
    1.10  						video_bpp, SDL_GetError());
    1.11  		quit(2);
    1.12  	}
    1.13 -
    1.14 +#else
    1.15 +	/* Pocket PC */
    1.16 +	if ( (screen=SDL_SetVideoMode(240,320,video_bpp,SDL_FULLSCREEN)) == NULL ) {
    1.17 +		fprintf(stderr, "Couldn't set 240x320x%d video mode: %s\n",
    1.18 +						video_bpp, SDL_GetError());
    1.19 +		quit(2);
    1.20 +	}
    1.21 +#endif
    1.22  	/* Set the surface pixels and refresh! */
    1.23  	if ( SDL_LockSurface(screen) < 0 ) {
    1.24  		fprintf(stderr, "Couldn't lock the display surface: %s\n",