Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add flags to the vidmode debug output

  • Loading branch information
slouken committed Oct 6, 2012
1 parent f0918ca commit 109a957e10b138968d35e43ede5a590be663ddaa
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/video/x11/SDL_x11modes.c
@@ -685,9 +685,9 @@ X11_GetDisplayModes(_THIS, SDL_VideoDisplay * sdl_display)
#ifdef X11MODES_DEBUG
printf("VidMode modes: (unsorted)\n");
for (i = 0; i < nmodes; ++i) {
printf("Mode %d: %d x %d @ %d\n", i,
printf("Mode %d: %d x %d @ %d, flags: 0x%x\n", i,
modes[i]->hdisplay, modes[i]->vdisplay,
CalculateXVidModeRefreshRate(modes[i]));
CalculateXVidModeRefreshRate(modes[i]), modes[i]->flags);
}
#endif
for (i = 0; i < nmodes; ++i) {

0 comments on commit 109a957

Please sign in to comment.