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:
parent
c05194de44
commit
7db054c78e
1 changed files with 2 additions and 1 deletions
|
@ -335,7 +335,8 @@ int main(int argc, char *argv[])
|
||||||
w, h, desired_bpp, SDL_GetError());
|
w, h, desired_bpp, SDL_GetError());
|
||||||
exit(1);
|
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);
|
screen->w, screen->h, screen->format->BitsPerPixel);
|
||||||
printf("(video surface located in %s memory)\n",
|
printf("(video surface located in %s memory)\n",
|
||||||
(screen->flags&SDL_HWSURFACE) ? "video" : "system");
|
(screen->flags&SDL_HWSURFACE) ? "video" : "system");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue