Add flags to the vidmode debug output
authorSam Lantinga <slouken@libsdl.org>
Sat, 06 Oct 2012 12:16:32 -0700
changeset 6566dd7e57847ea9
parent 6565 1f3c0df426dc
child 6567 d50613615139
Add flags to the vidmode debug output
src/video/x11/SDL_x11modes.c
     1.1 --- a/src/video/x11/SDL_x11modes.c	Sat Oct 06 11:23:47 2012 -0700
     1.2 +++ b/src/video/x11/SDL_x11modes.c	Sat Oct 06 12:16:32 2012 -0700
     1.3 @@ -685,9 +685,9 @@
     1.4  #ifdef X11MODES_DEBUG
     1.5          printf("VidMode modes: (unsorted)\n");
     1.6          for (i = 0; i < nmodes; ++i) {
     1.7 -            printf("Mode %d: %d x %d @ %d\n", i,
     1.8 +            printf("Mode %d: %d x %d @ %d, flags: 0x%x\n", i,
     1.9                     modes[i]->hdisplay, modes[i]->vdisplay,
    1.10 -                   CalculateXVidModeRefreshRate(modes[i]));
    1.11 +                   CalculateXVidModeRefreshRate(modes[i]), modes[i]->flags);
    1.12          }
    1.13  #endif
    1.14          for (i = 0; i < nmodes; ++i) {