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
fix-osga-rotate-wildly
psi29a 10 months ago
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…
Cancel
Save