https://bugs.winehq.org/show_bug.cgi?id=45433
Philip Rebohle philip.rebohle@tu-dortmund.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |philip.rebohle@tu-dortmund. | |de
--- Comment #2 from Philip Rebohle philip.rebohle@tu-dortmund.de --- The problem here is that the game makes assumptions about the order in which IDXGIOutput::GetDisplayModeList returns the available display modes. I have no idea how the developers even managed to do that because you'd think they just try to apply the selected resolution, yet here we are.
DXVK used to have the same bug as well, and the solution was to just sort the list of returned display modes in roughly the same way that Windows does:
- Order by width in ascending order - If two modes have the same width, order by height in ascending order - If two modes have the same width and height, order by refresh rate in ascending order