From be90abb48704f7a6678743c16bfdeeaa0147ea77 Mon Sep 17 00:00:00 2001 From: Thomas Jentzsch Date: Sun, 6 Feb 2022 10:19:15 +0100 Subject: [PATCH] added display name to display logging --- src/common/FBBackendSDL2.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/FBBackendSDL2.cxx b/src/common/FBBackendSDL2.cxx index b6daff067..2b694c87a 100644 --- a/src/common/FBBackendSDL2.cxx +++ b/src/common/FBBackendSDL2.cxx @@ -94,7 +94,8 @@ void FBBackendSDL2::queryHardware(vector& fullscreenRes, int numModes = SDL_GetNumDisplayModes(i); ostringstream s; - s << "Supported video modes (" << numModes << ") for display " << i << ":"; + s << "Supported video modes (" << numModes << ") for display " << i + << " (" << SDL_GetDisplayName(i) << "):"; string lastRes = "";