Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
265:35d9c8a5aa10 | 266:c6abdda2f666 |
---|---|
33 if ( modes == (SDL_Rect **)-1 ) { | 33 if ( modes == (SDL_Rect **)-1 ) { |
34 printf("No special fullscreen video modes\n"); | 34 printf("No special fullscreen video modes\n"); |
35 } else { | 35 } else { |
36 printf("Fullscreen video modes:\n"); | 36 printf("Fullscreen video modes:\n"); |
37 for ( i=0; modes[i]; ++i ) { | 37 for ( i=0; modes[i]; ++i ) { |
38 printf("\t%dx%d\n", modes[i]->w, modes[i]->h); | 38 printf("\t%dx%dx%d\n", modes[i]->w, modes[i]->h, info->vfmt->BitsPerPixel); |
39 } | 39 } |
40 } | 40 } |
41 if ( info->wm_available ) { | 41 if ( info->wm_available ) { |
42 printf("A window manager is available\n"); | 42 printf("A window manager is available\n"); |
43 } | 43 } |