mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-11 16:04:31 +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
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ namespace MWRender
|
||||||
{
|
{
|
||||||
// Other objects are likely cheaper and should let us skip all but a few groundcover instances
|
// Other objects are likely cheaper and should let us skip all but a few groundcover instances
|
||||||
cullVisitor.computeNearPlane();
|
cullVisitor.computeNearPlane();
|
||||||
|
computedZNear = cullVisitor.getCalculatedNearPlane();
|
||||||
|
computedZFar = cullVisitor.getCalculatedFarPlane();
|
||||||
|
|
||||||
if (dNear < computedZNear)
|
if (dNear < computedZNear)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue