Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add flags to the vidmode debug output
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+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) { |
|
|