changeset 228:153f221b7d48

Give more info about the current video mode
author Sam Lantinga <slouken@libsdl.org>
date Sun, 04 Nov 2001 04:18:05 +0000
parents 24878c14b391
children 4d24d5a660a8
files test/testwin.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");