added display name to display logging

This commit is contained in:
Thomas Jentzsch 2022-02-06 10:19:15 +01:00
parent acf611cb6b
commit be90abb487
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,8 @@ void FBBackendSDL2::queryHardware(vector<Common::Size>& 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 = "";