mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Add widescreen aspect correction
This commit is contained in:
parent
1dda8027ab
commit
54621d20d2
1 changed files with 14 additions and 0 deletions
|
@ -415,10 +415,24 @@ void DrawView()
|
|||
|
||||
if (nFreeze != 3)
|
||||
{
|
||||
int const viewingRange = viewingrange;
|
||||
|
||||
if (r_usenewaspect)
|
||||
{
|
||||
newaspect_enable = 1;
|
||||
videoSetCorrectedAspect();
|
||||
}
|
||||
|
||||
drawrooms(nCamerax, nCameray, viewz, nCameraa, nCamerapan, nSector);
|
||||
analyzesprites();
|
||||
renderDrawMasks();
|
||||
|
||||
if (r_usenewaspect)
|
||||
{
|
||||
newaspect_enable = 0;
|
||||
renderSetAspect(viewingRange, tabledivide32_noinline(65536 * ydim * 8, xdim * 5));
|
||||
}
|
||||
|
||||
if (nFreeze)
|
||||
{
|
||||
nSnakeCam = -1;
|
||||
|
|
Loading…
Reference in a new issue