mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 02:11:19 +00:00
Correct the handling of r_viewsize and lineadj.
r_viewsize is meant to be clamped to 100, but not limit linadj.
This commit is contained in:
parent
86b95629cf
commit
4a95f89760
1 changed files with 2 additions and 3 deletions
|
@ -118,11 +118,10 @@ R_SetVrect (vrect_t *vrectin, vrect_t *vrect, int lineadj)
|
|||
int h;
|
||||
|
||||
// intermission is always full screen
|
||||
if (r_viewsize >= 100 || vr_data.force_fullscreen /*FIXME: better test*/) {
|
||||
size = min (r_viewsize, 100);
|
||||
if (vr_data.force_fullscreen) {
|
||||
size = 100.0;
|
||||
lineadj = 0;
|
||||
} else {
|
||||
size = r_viewsize;
|
||||
}
|
||||
size /= 100.0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue