Give more info about the current video mode
authorSam Lantinga <slouken@libsdl.org>
Sun, 04 Nov 2001 04:18:05 +0000
changeset 228153f221b7d48
parent 227 24878c14b391
child 229 4d24d5a660a8
Give more info about the current video mode
test/testwin.c
     1.1 --- a/test/testwin.c	Sat Nov 03 17:03:16 2001 +0000
     1.2 +++ b/test/testwin.c	Sun Nov 04 04:18:05 2001 +0000
     1.3 @@ -335,7 +335,8 @@
     1.4  					w, h, desired_bpp, SDL_GetError());
     1.5  		exit(1);
     1.6  	}
     1.7 -	printf("Set %dx%dx%d mode\n",
     1.8 +	printf("Set%s %dx%dx%d mode\n",
     1.9 +			screen->flags & SDL_FULLSCREEN ? " fullscreen" : "",
    1.10  			screen->w, screen->h, screen->format->BitsPerPixel);
    1.11  	printf("(video surface located in %s memory)\n",
    1.12  			(screen->flags&SDL_HWSURFACE) ? "video" : "system");