mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- Fixed a dangerous typo in xs_Float code.
The function 'xs_CeilToUInt' would call itself, leading to infinite loop, due to a typo. It should call 'xs_CeilToInt' instead.
This commit is contained in:
parent
add52d48cd
commit
f57e23989b
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ finline static uint32 xs_FloorToUInt(real64 val)
|
|||
|
||||
finline static uint32 xs_CeilToUInt(real64 val)
|
||||
{
|
||||
return (uint32)xs_CeilToUInt(val);
|
||||
return (uint32)xs_CeilToInt(val);
|
||||
}
|
||||
|
||||
finline static uint32 xs_RoundToUInt(real64 val)
|
||||
|
|
Loading…
Reference in a new issue