mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 07:52:57 -05:00
Give more info about the current video mode
This commit is contained in:
parent
6eef77e957
commit
c169d9f015
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user