Add flags to the vidmode debug output
authorSam Lantinga <slouken@libsdl.org>
Sat, 06 Oct 2012 12:16:32 -0700
changeset 6566 dd7e57847ea9
parent 6565 1f3c0df426dc
child 6567 d50613615139
Add flags to the vidmode debug output
src/video/x11/SDL_x11modes.c
--- a/src/video/x11/SDL_x11modes.c	Sat Oct 06 11:23:47 2012 -0700
+++ b/src/video/x11/SDL_x11modes.c	Sat Oct 06 12:16:32 2012 -0700
@@ -685,9 +685,9 @@
 #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) {