- floatified texture scale values.
This commit is contained in:
parent
dabed04d2a
commit
0c39bdd04c
11 changed files with 74 additions and 71 deletions
|
|
@ -759,7 +759,7 @@ int CheckRealHeight(FTexture *tex)
|
|||
}
|
||||
}
|
||||
// Scale maxy before returning it
|
||||
maxy = (maxy << 17) / tex->yScale;
|
||||
maxy = int((maxy *2) / tex->Scale.Y);
|
||||
maxy = (maxy >> 1) + (maxy & 1);
|
||||
return maxy;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue