During Video initialization iterate all displays and use the string name value returned by SDL_GetDisplayName to identify them in the menu UI. Depending on the chosen display the created window is placed to the corresponding monitor and a new Cvar is introduced v_VideoDisplay with a an index value for every monitor, 0 = first monitor, 1 = second and so on.
During Video initialization iterate all displays and use the string name value returned by
SDL_GetDisplayName
to identify them in the menu UI. Depending on the chosen display the created window is placed to the corresponding monitor and a new Cvar is introducedv_VideoDisplay
with a an index value for every monitor, 0 = first monitor, 1 = second and so on.