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