SDL does have some functions for listing the monitors, so we should be able to take it from there and at least improve the situation - staying on the same monitor while switching the mode would be good.
Code snippet for iterating through the available monitors:
SDL does have some functions for listing the monitors, so we should be able to take it from there and at least improve the situation - staying on the same monitor while switching the mode would be good.
Code snippet for iterating through the available monitors:
https:/ /wiki.libsdl. org/SDL_ GetCurrentDispl ayMode