diff test/testvidinfo.c @ 266:c6abdda2f666

Added QNX cleanups by Mike Gorchak (thanks!)
author Sam Lantinga <slouken@libsdl.org>
date Fri, 18 Jan 2002 18:14:03 +0000
parents 74212992fb08
children c0a1744bc2cf
line wrap: on
line diff
--- a/test/testvidinfo.c	Fri Jan 18 17:14:16 2002 +0000
+++ b/test/testvidinfo.c	Fri Jan 18 18:14:03 2002 +0000
@@ -35,7 +35,7 @@
 	} else {
 		printf("Fullscreen video modes:\n");
 		for ( i=0; modes[i]; ++i ) {
-			printf("\t%dx%d\n", modes[i]->w, modes[i]->h);
+			printf("\t%dx%dx%d\n", modes[i]->w, modes[i]->h, info->vfmt->BitsPerPixel);
 		}
 	}
 	if ( info->wm_available ) {