Skip to content

Commit

Permalink
Give more info about the current video mode
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 4, 2001
1 parent 14dbc78 commit f33a7fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/testwin.c
Expand Up @@ -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");
Expand Down

0 comments on commit f33a7fd

Please sign in to comment.