test/testvidinfo.c
changeset 1545 8d9bb0cf2c2a
parent 886 05c551e5bc64
child 1660 8b9d79e7eacf
child 1895 c121d94672cb
--- a/test/testvidinfo.c	Wed Mar 15 15:47:49 2006 +0000
+++ b/test/testvidinfo.c	Wed Mar 15 17:46:41 2006 +0000
@@ -400,7 +400,8 @@
 	}
 	info = SDL_GetVideoInfo();
 	printf(
-"Current display: %d bits-per-pixel\n",info->vfmt->BitsPerPixel);
+"Current display: %dx%d, %d bits-per-pixel\n",
+		info->current_w, info->current_h, info->vfmt->BitsPerPixel);
 	if ( info->vfmt->palette == NULL ) {
 		printf("	Red Mask = 0x%.8x\n", info->vfmt->Rmask);
 		printf("	Green Mask = 0x%.8x\n", info->vfmt->Gmask);