| 342 | } |
| 343 | |
| 344 | std::wstring D3DDisplayModeToString(const D3DDISPLAYMODEEX& dm) |
| 345 | { |
| 346 | std::wstring str = std::format(L"{}x{} {}", dm.Width, dm.Height, dm.RefreshRate); |
| 347 | if (dm.ScanLineOrdering == D3DSCANLINEORDERING_INTERLACED) { |
| 348 | str += 'i'; |
| 349 | } |
| 350 | str.append(L" Hz"); |
| 351 | return str; |
| 352 | } |
nothing calls this directly
no outgoing calls
no test coverage detected