Commit d11731fa authored by Richard Gobeille's avatar Richard Gobeille
Browse files

engine: print display name to console when detecting video modes

parent d753d281
......@@ -1360,9 +1360,15 @@ void videoGetModes(int display)
if (modeschecked || novideo)
auto name = Xstrdup(videoGetDisplayName(display)), shortened = strtok(name, "(");
if (!shortened) shortened = name;
VLOG_F(LOG_GFX, "Detecting video modes for display %d (%s)...", display, shortened);
validmodecnt = 0;
VLOG_F(LOG_GFX, "Detecting video modes...");
// do fullscreen modes first
for (i = 0; i < SDL_GetNumDisplayModes(display); i++)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment