mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-22 11:51:17 +00:00
Fixed a conwidth bug involving min(a,b). Whoever did this needs to be injured.
This commit is contained in:
parent
8d460e7c6f
commit
0cd791223c
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ void VID_Init(unsigned char *palette)
|
|||
vid.conwidth = width;
|
||||
|
||||
vid.conwidth &= 0xfff8; // make it a multiple of eight
|
||||
vid.conwidth = min(vid.conwidth, 320);
|
||||
if(vid.conwidth < 320) vid.conwidth = 320;
|
||||
|
||||
// pick a conheight that matches with correct aspect
|
||||
vid.conheight = vid.conwidth * 3 / 4;
|
||||
|
|
Loading…
Reference in a new issue