Made default resolution 640x480 instead of 640x400
This commit is contained in:
parent
7bd961ef6d
commit
352ad7046e
1 changed files with 12 additions and 2 deletions
14
gl_vidnt.c
14
gl_vidnt.c
|
@ -1449,8 +1449,18 @@ void VID_Init (unsigned char *palette)
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
//User specified nothing try to find the 640 * 480 mode
|
||||
} else if (!COM_CheckParm("-height")) {
|
||||
for (i=1, vid_default=0 ; i<nummodes ; i++)
|
||||
{
|
||||
if ((modelist[i].width == width) && (modelist[i].bpp == bpp) && (modelist[i].height = 480))
|
||||
{
|
||||
vid_default = i;
|
||||
done = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else
|
||||
{
|
||||
for (i=1, vid_default=0 ; i<nummodes ; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue