mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -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;
|
||||
viewheight = view.sh;
|
||||
viewwidth_nonwide = V_ScaleX(scaledviewwidth_nonwide);
|
||||
viewwidth_nonwide = (scaledviewwidth_nonwide * video.xscale) >> FRACBITS;
|
||||
|
||||
viewwindowx = view.sx;
|
||||
viewwindowy = view.sy;
|
||||
|
||||
viewblocks = V_ScaleX(MIN(setblocks, 10));
|
||||
viewblocks = (MIN(setblocks, 10) * video.yscale) >> FRACBITS;
|
||||
|
||||
centery = viewheight/2;
|
||||
centerx = viewwidth/2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user