Mercurial > sdl-ios-xcode
diff test/testwin.c @ 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 | 74212992fb08 |
children | be9c9c8f6d53 |
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");