mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 19:38:06 -04:00
fix viewblocks
scaling
This commit is contained in:
parent
8efdd489ce
commit
2dc65df5de
@ -489,12 +489,12 @@ void R_ExecuteSetViewSize (void)
|
|||||||
|
|
||||||
viewwidth = view.sw;
|
viewwidth = view.sw;
|
||||||
viewheight = view.sh;
|
viewheight = view.sh;
|
||||||
viewwidth_nonwide = V_ScaleX(scaledviewwidth_nonwide);
|
viewwidth_nonwide = (scaledviewwidth_nonwide * video.xscale) >> FRACBITS;
|
||||||
|
|
||||||
viewwindowx = view.sx;
|
viewwindowx = view.sx;
|
||||||
viewwindowy = view.sy;
|
viewwindowy = view.sy;
|
||||||
|
|
||||||
viewblocks = V_ScaleX(MIN(setblocks, 10));
|
viewblocks = (MIN(setblocks, 10) * video.yscale) >> FRACBITS;
|
||||||
|
|
||||||
centery = viewheight/2;
|
centery = viewheight/2;
|
||||||
centerx = viewwidth/2;
|
centerx = viewwidth/2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user