mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-23 06:41:08 +00:00
Merge branch 'well-that-was-really-dumb' into 'master'
Actually use the plane distances we just computed Closes #7844 See merge request OpenMW/openmw!3898
This commit is contained in:
commit
f307e7acc7
@ -95,6 +95,8 @@ namespace MWRender
|
||||
{
|
||||
// Other objects are likely cheaper and should let us skip all but a few groundcover instances
|
||||
cullVisitor.computeNearPlane();
|
||||
computedZNear = cullVisitor.getCalculatedNearPlane();
|
||||
computedZFar = cullVisitor.getCalculatedFarPlane();
|
||||
|
||||
if (dNear < computedZNear)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user