mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Recalculate horizycent because ydim can be changed in renderSetTarget
This commit is contained in:
parent
264a450bbe
commit
bff0646263
1 changed files with 1 additions and 0 deletions
|
@ -7316,6 +7316,7 @@ static void dosetaspect(void)
|
||||||
{
|
{
|
||||||
oxyaspect = xyaspect;
|
oxyaspect = xyaspect;
|
||||||
j = xyaspect*320;
|
j = xyaspect*320;
|
||||||
|
horizycent = (ydim*4)>>1;
|
||||||
horizlookup2[horizycent-1] = divscale32(131072,j);
|
horizlookup2[horizycent-1] = divscale32(131072,j);
|
||||||
|
|
||||||
for (i=0; i < horizycent-1; i++)
|
for (i=0; i < horizycent-1; i++)
|
||||||
|
|
Loading…
Reference in a new issue