set _menu_vid_height "$vid_height"
set _menu_vid_pixelheight "$vid_pixelheight"
seta menu_vid_scale 0
+seta menu_vid_allowdualscreenresolution 0
// 2D resolution 800x600
vid_conwidth 800
vid_conheight 600
void XonoticResolutionSlider_configureXonoticResolutionSlider(entity me)
{
float i;
+ float autocvar_menu_vid_allowdualscreenresolution = 0;
vector r0, r;
me.configureXonoticTextSlider(me, "_menu_vid_width");
if(r_x < 640 || r_y < 480)
continue;
if(r_x > 2 * r_y) // likely dualscreen resolution, skip this one
- continue;
+ if(autocvar_menu_vid_allowdualscreenresolution == 0)
+ continue;
+
me.addResolution(me, r_x, r_y, r_z);
}