Skip to content
Permalink
Browse files

Give more info about the current video mode

  • Loading branch information
slouken committed Nov 4, 2001
1 parent 14dbc78 commit f33a7fd9f453b4539ff734ed9373f60ea9ac5dff
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/testwin.c
@@ -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");

0 comments on commit f33a7fd

Please sign in to comment.