Give more info about the current video mode

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40229
This commit is contained in:
Sam Lantinga 2001-11-04 04:18:05 +00:00
parent c05194de44
commit 7db054c78e

View file

@ -335,7 +335,8 @@ int main(int argc, char *argv[])
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");