Recalculate horizycent because ydim can be changed in renderSetTarget

This commit is contained in:
nukeykt 2019-12-13 17:21:40 +09:00 committed by Christoph Oelckers
parent 264a450bbe
commit bff0646263

View file

@ -7316,6 +7316,7 @@ static void dosetaspect(void)
{
oxyaspect = xyaspect;
j = xyaspect*320;
horizycent = (ydim*4)>>1;
horizlookup2[horizycent-1] = divscale32(131072,j);
for (i=0; i < horizycent-1; i++)