Use a stable_partitioning of the list of devices the driver gave us with the addition of checking of the physical device supports the display-surface that SDL gave us as well.
Use a stable_partitioning of the list of devices the driver gave us with the addition of checking of the physical device supports the display-surface that SDL gave us as well.