mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-16 16:20:53 +00:00
Merge branch 'plz_no_particles' into 'master'
Hopefully fix #6353 once and for all Closes #6353 See merge request OpenMW/openmw!1433
This commit is contained in:
commit
12167291a3
@ -11,7 +11,7 @@ namespace
|
||||
// Round value to prevent precision issues
|
||||
void truncate(float& value)
|
||||
{
|
||||
value = std::roundf(value * 1024.f) / 1024.f;
|
||||
value = static_cast<int>(value * 1024.f) / 1024.f;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user